ImmutableList<T>.IList<T>.Insert Method (Int32, T)

 

Inserts an object in the immutable list at the specified index.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

void IList<T>.Insert(
	int index,
	T item
)

Parameters

index
Type: System.Int32

The zero-based index at which item should be inserted.

item
Type: T

The object to insert.

Exception Condition
NotSupportedException

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IList<T> interface.

Return to top
Show: