ImmutableSortedSet<T>::IList::Insert Method (Int32, Object^)

 

Inserts an item into the set at the specified index.

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

private:
virtual void Insert(
	int index,
	Object^ value
) sealed = 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 set.

Exception Condition
NotSupportedException

The set is read-only or has a fixed size.

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

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show: