ImmutableArray<T>::InsertRange Method (Int32, ImmutableArray<T>)

 

Inserts the specified values at the specified index.

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

public:
ImmutableArray<T> InsertRange(
	int index,
	ImmutableArray<T> items
)

Parameters

index
Type: System::Int32

The index at which to insert the value.

items
Type: System.Collections.Immutable::ImmutableArray<T>

The elements to insert.

Return Value

Type: System.Collections.Immutable::ImmutableArray<T>

A new immutable array with the items inserted at the specified index.

Return to top
Show: