Modifica

Condividi tramite


ConfigurationPropertyCollection.CopyTo(ConfigurationProperty[], Int32) Method

Definition

Copies this ConfigurationPropertyCollection to an array.

public:
 void CopyTo(cli::array <System::Configuration::ConfigurationProperty ^> ^ array, int index);
public void CopyTo (System.Configuration.ConfigurationProperty[] array, int index);
member this.CopyTo : System.Configuration.ConfigurationProperty[] * int -> unit
Public Sub CopyTo (array As ConfigurationProperty(), index As Integer)

Parameters

array
ConfigurationProperty[]

Array to which to copy.

index
Int32

Index at which to begin copying.

Examples

The following example shows how to use the CopyTo method.

Applies to

See also