ImmutableArray<T>.Slice(Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.