ImmutableDictionary<TKey,TValue>.ICollection.CopyTo Méthode
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 les éléments du dictionnaire dans un tableau, en commençant à un index de tableau particulier.
virtual void System.Collections.ICollection.CopyTo(Array ^ array, int arrayIndex) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int arrayIndex);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, arrayIndex As Integer) Implements ICollection.CopyTo
- array
- Array
Tableau unidimensionnel qui constitue la destination des éléments copiés à partir du dictionnaire. Ce tableau doit avoir une indexation de base zéro.
- arrayIndex
- Int32
Index de base zéro dans l'array
à partir duquel la copie commence.
Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ImmutableDictionary<TKey,TValue> est castée en interface ICollection.
Produit | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
UWP | 10.0 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: