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

 

Inserts the specified values at the specified index

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

private:
virtual IImmutableList<T>^ InsertRange(
	int index,
	IEnumerable<T>^ items
) sealed = IImmutableList<T>::InsertRange

Parameters

index
Type: System::Int32

The index at which to insert the value.

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

The elements to insert.

Return Value

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

A new array with the specified values inserted.

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

Return to top
Show: