ImmutableList<T>::InsertRange Method (Int32, IEnumerable<T>^)

 

Inserts the elements of a collection into the immutable list at the specified index.

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

public:
ImmutableList<T>^ InsertRange(
	int index,
	IEnumerable<T>^ items
)

Parameters

index
Type: System::Int32

The zero-based index at which to insert the elements.

items
Type: System.Collections.Generic::IEnumerable<T>^

The collection whose elements should be inserted.

Return Value

Type: System.Collections.Immutable::ImmutableList<T>^

The new immutable list after the elements are inserted.

Return to top
Show: