ServiceModelConfigurationElementCollection<ConfigurationElementType>::CopyTo Method (array<ConfigurationElementType>^, Int32)

 

Copies the configuration elements stored in this collection to an Array object, beginning at the specified index location in the Array.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
void CopyTo(
	array<ConfigurationElementType>^ array,
	int start
)

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
Return to top
Show: