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

OperationDescriptionCollection.InsertItem Method

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

Inserts an element into the operation description collection at the specified index.

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

'Declaration
Protected Overrides Sub InsertItem ( _
	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.

ExceptionCondition
ArgumentNullException

item is Nothing.

This method is provided for the Windows Phone system to do input validation and is not expected to be called by users.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft