PersonalizationDictionary::ICollection::CopyTo Method
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.