SetItem Method
Collapse the table of content
Expand the table of content

BindingElementCollection.SetItem Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Replaces a binding element at the specified index in the collection of binding elements.

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

'Declaration
Protected Overrides Sub SetItem ( _
	index As Integer, _
	item As BindingElement _
)

Parameters

index
Type: System.Int32
The zero-based index of the element to replace.
item
Type: System.ServiceModel.Channels.BindingElement
The new value for the BindingElement item at the specified index.

ExceptionCondition
ArgumentNullException

item is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft