RuntimeHelpers.GetSubArray<T>(T[], Range) 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.
Tranche le tableau spécifié à l’aide de la plage spécifiée.
public:
generic <typename T>
static cli::array <T> ^ GetSubArray(cli::array <T> ^ array, Range range);
public static T[] GetSubArray<T>(T[] array, Range range);
static member GetSubArray : 'T[] * Range -> 'T[]
Public Shared Function GetSubArray(Of T) (array As T(), range As Range) As T()
Paramètres de type
- T
Type des éléments dans le tableau.
Paramètres
- array
- T[]
Tableau à découper.
- range
- Range
Objet qui détermine la partie à array inclure dans la tranche.
Retours
Sous-narrateur défini par range.