Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Fügt das angegebene OperationBinding am Ende der OperationBindingCollection hinzu.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Syntax
'Declaration
Public Function Add ( _
bindingOperation As OperationBinding _
) As Integer
'Usage
Dim instance As OperationBindingCollection
Dim bindingOperation As OperationBinding
Dim returnValue As Integer
returnValue = instance.Add(bindingOperation)
public int Add (
OperationBinding bindingOperation
)
public:
int Add (
OperationBinding^ bindingOperation
)
public int Add (
OperationBinding bindingOperation
)
public function Add (
bindingOperation : OperationBinding
) : int
Parameter
- bindingOperation
Das der Auflistung hinzuzufügende OperationBinding.
Rückgabewert
Der nullbasierte Index, an dem der bindingOperation-Parameter hinzugefügt wurde.
Beispiel
Das folgende Beispiel veranschaulicht die Verwendung der Add-Methode.
' Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding)
Console.WriteLine(ControlChars.NewLine & _
"Added the OperationBinding of the Add " & _
"operation to the collection.")
// Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding);
Console.WriteLine("\nAdded the OperationBinding of the Add" +
" operation to the collection.");
// Add the Add OperationBinding to the collection.
myOperationBindingCollection->Add( addOperationBinding );
Console::WriteLine( "\nAdded the OperationBinding of the Add"
" operation to the collection." );
// Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding);
Console.WriteLine("\nAdded the OperationBinding of the Add"
+ " operation to the collection.");
Plattformen
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
OperationBindingCollection-Klasse
OperationBindingCollection-Member
System.Web.Services.Description-Namespace