System.Web.Services.Description.OperationBindingCollection.Insert Method

Adds the specified System.Web.Services.Description.OperationBinding instance to the System.Web.Services.Description.OperationBindingCollection at the specified zero-based index.

Syntax

public void Insert (int index, OperationBinding bindingOperation)

Parameters

index
The zero-based index at which to insert the bindingOperation parameter.
bindingOperation
The System.Web.Services.Description.OperationBinding to add to the collection.

Remarks

If the number of items in the collection already equals the collection's capacity, the capacity is doubled by automatically reallocating the internal array before the new element is inserted.

If the index parameter is equal to CollectionBase.Count, the bindingOperation parameter is added to the end of the System.Web.Services.Description.OperationBindingCollection.

The elements after the insertion point move down to accommodate the new element.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0