ImmutableList<T>.GetRange(Int32, Int32) Metoda

Definice

Vytvoří mělkou kopii rozsahu prvků ve zdrojovém neměnném seznamu.

public:
 virtual System::Collections::Immutable::ImmutableList<T> ^ GetRange(int index, int count);
public:
 System::Collections::Immutable::ImmutableList<T> ^ GetRange(int index, int count);
public System.Collections.Immutable.ImmutableList<T> GetRange (int index, int count);
abstract member GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
override this.GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
member this.GetRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
Public Function GetRange (index As Integer, count As Integer) As ImmutableList(Of T)

Parametry

index
Int32

Index založený na nule, od kterého oblast začíná.

count
Int32

Počet prvků v rozsahu.

Návraty

Mělká kopie rozsahu prvků ve zdrojovém neměnném seznamu.

Platí pro