Editar

Compartir a través de


PersonalizationDictionary.ICollection.CopyTo(Array, Int32) Method

Definition

Implements the CopyTo(Array, Int32) method for the PersonalizationDictionary class.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parameters

array
Array

An Array of DictionaryEntry items to copy into a PersonalizationDictionary.

index
Int32

The starting point in a PersonalizationDictionary at which to insert array.

Implements

Exceptions

array is not an array of DictionaryEntry items.

Remarks

The CopyTo method checks to determine whether array is an array of DictionaryEntry items, then calls the PersonalizationDictionary class's own CopyTo method, passing to it array and index.

Applies to

See also