ProviderCollection::ICollection::CopyTo Method (Array^, Int32)

 

Copies the elements of the ProviderCollection to an array, starting at a particular array index.

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

private:
virtual void CopyTo(
	Array^ array,
	int index
) sealed = ICollection::CopyTo

Parameters

array
Type: System::Array^

The array to copy the elements of the collection to.

index
Type: System::Int32

The index of the array at which to start copying provider instances from the collection.

This member is an explicit interface member implementation. It can be used only when the ICollection::CopyTo instance is cast to an ICollection interface.

.NET Framework
Available since 2.0
Return to top
Show: