SynchronizedReadOnlyCollection(Of T).IList(Of T).Insert Method (Int32, T)

 

Throws a NotSupportedException if called.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Private Sub Insert (
	index As Integer,
	value As T
)
	Implements IList(Of T).Insert

Parameters

index
Type: System.Int32

The zero-based index at which value is to be inserted.

value
Type: T

The object to insert into the collection.

Exception Condition
NotSupportedException

Items cannot be inserted into a read-only collection.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: