IList.Insert Method

ReadOnlyCollection(Of T).IList.Insert Method

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

Inserts an item to the IList at the specified index. This implementation always throws NotSupportedException.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Private Sub Insert ( _
	index As Integer, _
	value As Object _
) Implements IList.Insert

Parameters

index
Type: System.Int32
The zero-based index at which value should be inserted.
value
Type: System.Object
The Object to insert into the IList.

Implements

IList.Insert(Int32, Object)

ExceptionCondition
NotSupportedException

Always thrown.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft