編輯

共用方式為


ConfigurationElementCollection.CopyTo(ConfigurationElement[], Int32) Method

Definition

Copies the contents of the ConfigurationElementCollection to an array.

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

Parameters

array
ConfigurationElement[]

Array to which to copy the contents of the ConfigurationElementCollection.

index
Int32

Index location at which to begin copying.

Applies to