BindingElementCollection.InsertItem Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Inserts a binding element at a specified location within a collection of binding elements.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- index
- Type: System.Int32
The location at which to insert the binding element in the collection.
- item
- Type: System.ServiceModel.Channels.BindingElement
The BindingElement to be inserted.
| Exception | Condition |
|---|---|
| ArgumentNullException | item is null. |
Show: