ConfigurationSectionCollection::CopyTo Method (array<ConfigurationSection^>^, Int32)
.NET Framework (current version)
Copies this ConfigurationSectionCollection object to an array.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- array
-
Type:
array<System.Configuration::ConfigurationSection^>^
The array to copy the ConfigurationSectionCollection object to.
- index
-
Type:
System::Int32
The index location at which to begin copying.
| Exception | Condition |
|---|---|
| ArgumentNullException | array is null. |
| ArgumentOutOfRangeException | The length of array is less than the value of Count plus index. |
.NET Framework
Available since 2.0
Available since 2.0
Show: