ImmutableList<T>::GetRange Method (Int32, Int32)

 

Creates a shallow copy of a range of elements in the source immutable list.

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

public:
virtual ImmutableList<T>^ GetRange(
	int index,
	int count
) sealed

Parameters

index
Type: System::Int32

The zero-based index at which the range starts.

count
Type: System::Int32

The number of elements in the range.

Return Value

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

A shallow copy of a range of elements in the source immutable list.

Return to top
Show: