InsertItem Method
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected override void InsertItem(
	int index,
	BindingElement item
)

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.

ExceptionCondition
ArgumentNullException

item is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft