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

Definicja

Forms wycinkę bieżącego ImmutableArray<T> elementu rozpoczynającego się od określonego indeksu dla określonej długości.

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

Indeks, na którym ma rozpocząć ten wycinek.

length
Int32

Żądana długość wycinka.

Zwraca

Element ImmutableArray<T> , który składa się z length elementów z bieżącego ImmutableArray<T>elementu , zaczynając od start.

Dotyczy