ImmutableArray<T>.Slice(Int32, Int32) Metoda

Definice

Vytvoří řez z aktuálního ImmutableArray<T> indexu počínaje zadaným indexem pro zadanou délku.

public:
 System::Collections::Immutable::ImmutableArray<T> Slice(int start, int length);
public System.Collections.Immutable.ImmutableArray<T> Slice(int start, int length);
member this.Slice : int * int -> System.Collections.Immutable.ImmutableArray<'T>
Public Function Slice (start As Integer, length As Integer) As ImmutableArray(Of T)

Parametry

start
Int32

Index, na kterém má tento řez začínat.

length
Int32

Požadovaná délka řezu.

Návraty

PrvekImmutableArray<T>, který se skládá length z prvků z aktuálního ImmutableArray<T>, počínaje .start

Platí pro