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);

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