OrderedDictionary<TKey,TValue>.ValueCollection.CopyTo Méthode

Définition

Copie les éléments du ICollection<T> dans un Array, en commençant à un index Array particulier.

public:
 virtual void CopyTo(cli::array <TValue> ^ array, int arrayIndex);
public void CopyTo(TValue[] array, int arrayIndex);
abstract member CopyTo : 'Value[] * int -> unit
override this.CopyTo : 'Value[] * int -> unit
Public Sub CopyTo (array As TValue(), arrayIndex As Integer)

Paramètres

array
TValue[]

Unidimensionnel Array qui est la destination des éléments copiés à partir de ICollection<T>. L’indexation Array doit être basée sur zéro.

arrayIndex
Int32

Index de base zéro dans array lequel la copie commence.

Implémente

S’applique à