Rediger

Del via


ConfigurationSectionGroupCollection.CopyTo Method

Definition

Copies this ConfigurationSectionGroupCollection object to an array.

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

Parameters

array
ConfigurationSectionGroup[]

The array to copy the object to.

index
Int32

The index location at which to begin copying.

Exceptions

array is null.

The length of array is less than the value of Count plus index.

Applies to