ServiceModelConfigurationElementCollection<ConfigurationElementType>.CopyTo Method

Definition

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

public void CopyTo (ConfigurationElementType[] array, int start);

Parameters

array
ConfigurationElementType[]

The Array to copy the configuration elements to.

start
Int32

The zero-based relative index in array where copying begins.

Exceptions

array is null.

start contains an invalid value.

Applies to

Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1