ExpandoObject.ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32) ExpandoObject.ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32) ExpandoObject.ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32) Method

Définition

Copie les éléments de ICollection<T> dans un tableau de type KeyValuePair<TKey,TValue>, en commençant au niveau de l'index de tableau spécifié.Copies the elements of the ICollection<T> to an array of type KeyValuePair<TKey,TValue>, starting at the specified array index.

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ array, int arrayIndex) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::CopyTo;
void ICollection<KeyValuePair<string,object>>.CopyTo (System.Collections.Generic.KeyValuePair<string,object>[] array, int arrayIndex);
Sub CopyTo (array As KeyValuePair(Of String, Object)(), arrayIndex As Integer) Implements ICollection(Of KeyValuePair(Of String, Object)).CopyTo

Paramètres

array
KeyValuePair<String,Object>[]

Tableau unidimensionnel de type KeyValuePair<TKey,TValue> constituant la destination des éléments KeyValuePair<TKey,TValue> copiés à partir de ICollection<T>.The one-dimensional array of type KeyValuePair<TKey,TValue> that is the destination of the KeyValuePair<TKey,TValue> elements copied from the ICollection<T>. Ce tableau doit avoir une indexation de base zéro.The array must have zero-based indexing.

arrayIndex
Int32 Int32 Int32

Index de base zéro dans array où commence la copie.The zero-based index in array at which copying starts.

S’applique à