Редагувати

Поділитися через


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(cli::array <ConfigurationElementType> ^ array, int start);
public void CopyTo (ConfigurationElementType[] array, int start);
override this.CopyTo : 'ConfigurationElementType[] * int -> unit
Public Sub CopyTo (array As ConfigurationElementType(), start As Integer)

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