ServiceModelConfigurationElementCollection<ConfigurationElementType>::CopyTo Method (array<ConfigurationElementType>^, Int32)
.NET Framework (current version)
Copies the configuration elements stored in this collection to an Array object, beginning at the specified index location in the Array.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- array
-
Type:
array<ConfigurationElementType>^
The Array to copy the configuration elements to.
- start
-
Type:
System::Int32
The zero-based relative index in array where copying begins.
| Exception | Condition |
|---|---|
| ArgumentNullException | array is null. |
| ArgumentException | start contains an invalid value. |
.NET Framework
Available since 3.0
Available since 3.0
Show: