PersonalizationDictionary::ICollection::CopyTo Method (Array^, Int32)
.NET Framework (current version)
Implements the ICollection::CopyTo method for the PersonalizationDictionary class.
Assembly: System.Web (in System.Web.dll)
Parameters
- array
-
Type:
System::Array^
An Array of DictionaryEntry items to copy into a PersonalizationDictionary.
- index
-
Type:
System::Int32
The starting point in a PersonalizationDictionary at which to insert array.
Implements
ICollection::CopyTo(Array^, Int32)| Exception | Condition |
|---|---|
| ArgumentException | array is not an array of DictionaryEntry items. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: