Bagikan melalui


ConfigurationSectionCollection.CopyTo(ConfigurationSection[], Int32) Metode

Definisi

Menyalin objek ini ConfigurationSectionCollection ke array.

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

Parameter

array
ConfigurationSection[]

Array untuk menyalin ConfigurationSectionCollection objek.

index
Int32

Lokasi indeks untuk mulai menyalin.

Pengecualian

arrayadalah null.

Panjang array kurang dari nilai Count plus index.

Berlaku untuk