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