Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

private:
virtual void Insert(
	int index,
	T item
) sealed = IList<T>::Insert

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:
© 2017 Microsoft