ImmutableArray<T>.Slice(Int32, Int32) Méthode

Définition

Forms une tranche du courant ImmutableArray<T> en commençant à un index spécifié pour une longueur spécifiée.

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)

Paramètres

start
Int32

Index auquel commence cette section.

length
Int32

Longueur souhaitée de la section.

Retours

ImmutableArray<T> qui se compose d’éléments length du actuel ImmutableArray<T>, à partir de start.

S’applique à