編輯

共用方式為


ProviderCollection.CopyTo(ProviderBase[], Int32) Method

Definition

Copies the contents of the collection to the given array starting at the specified index.

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

Parameters

array
ProviderBase[]

The array to copy the elements of the collection to.

index
Int32

The index of the collection item at which to start the copying process.

Remarks

The array into which the items are copied must have zero-based indexing.

Applies to