Redigera

Dela via


OperationDescriptionCollection.SetItem(Int32, OperationDescription) Method

Definition

Replaces the operation description element in the collection at the specified index.

protected:
 override void SetItem(int index, System::ServiceModel::Description::OperationDescription ^ item);
protected override void SetItem (int index, System.ServiceModel.Description.OperationDescription item);
override this.SetItem : int * System.ServiceModel.Description.OperationDescription -> unit
Protected Overrides Sub SetItem (index As Integer, item As OperationDescription)

Parameters

index
Int32

The zero-based index at which item should be inserted.

Exceptions

item is null.

Remarks

This method is provided for the Windows Communication Foundation (WCF) system to do input validation and is not expected to be called by users.

Applies to