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

Définition

Forme une tranche hors du cours ImmutableArray<T> 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 commencer cette tranche.

length
Int32

Longueur souhaitée pour la tranche.

Retours

Qui ImmutableArray<T> se compose d’éléments length de l’actuel ImmutableArray<T>, en commençant à start.

S’applique à