ProviderCollection::CopyTo Method (array<ProviderBase^>^, Int32)

 

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

Namespace:   System.Configuration.Provider
Assembly:  System.Configuration (in System.Configuration.dll)

public:
void CopyTo(
	array<ProviderBase^>^ array,
	int index
)

Parameters

array
Type: array<System.Configuration.Provider::ProviderBase^>^

The array to copy the elements of the collection to.

index
Type: System::Int32

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

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

.NET Framework
Available since 2.0
Return to top
Show: