OperationDescriptionCollection.SetItem Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Replaces the operation description element in the collection at the specified index.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Protected Overrides Sub SetItem ( _ index As Integer, _ item As OperationDescription _ )
Parameters
- index
- Type: System.Int32
The zero-based index at which item should be inserted.
- item
- Type: System.ServiceModel.Description.OperationDescription
The OperationDescription to insert.
| Exception | Condition |
|---|---|
| ArgumentNullException | item is Nothing. |
Show: