ArraySegment<T>.ToArray 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.
Copie le contenu de ce segment de tableau dans un nouveau tableau.
public:
cli::array <T> ^ ToArray();
public T[] ToArray();
member this.ToArray : unit -> 'T[]
Public Function ToArray () As T()
Retours
Tableau contenant les données du segment de tableau actuel.
Exceptions
default(ArraySegment<T>) ne peut pas être converti en tableau.