Breyta

Deila með


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.

public:
 virtual void CopyTo(cli::array <TServiceModelExtensionElement> ^ elements, int start);
public void CopyTo (TServiceModelExtensionElement[] elements, int start);
abstract member CopyTo : 'ServiceModelExtensionElement[] * int -> unit
override this.CopyTo : 'ServiceModelExtensionElement[] * int -> unit
Public Sub CopyTo (elements As TServiceModelExtensionElement(), start As Integer)

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