ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.CopyTo Method

Definition

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. This method cannot be inherited.

C#
public void CopyTo(TServiceModelExtensionElement[] elements, int start);

Parameters

elements
TServiceModelExtensionElement[]

A one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based.

start
Int32

The zero-based index in the elements array at which copying begins.

Implements

Exceptions

element is null.

start is invalid.

Applies to

Product Versions
.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