OperationBindingCollection.Add Method (OperationBinding)

 

Adds the specified OperationBinding to the end of the OperationBindingCollection.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Function Add (
	bindingOperation As OperationBinding
) As Integer

Parameters

bindingOperation
Type: System.Web.Services.Description.OperationBinding

The OperationBinding to add to the collection.

Return Value

Type: System.Int32

The zero-based index where the bindingOperation parameter has been added.

The following example demonstrates the use of the Add method.

' Add the Add OperationBinding to the collection.
myOperationBindingCollection.Add(addOperationBinding)
Console.WriteLine(ControlChars.NewLine & _
   "Added the OperationBinding of the Add " & _
   "operation to the collection.")

.NET Framework
Available since 1.1
Return to top
Show: