ConnectionInterfaceCollection::CopyTo Method (array<Type^>^, Int32)

 

Copies the entire ReadOnlyCollectionBase object to a compatible one-dimensional Array, starting at the specified index of the target array.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

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

Parameters

array
Type: array<System::Type^>^

The one-dimensional Array that is the destination of the elements copied from ReadOnlyCollectionBase. The Array must have zero-based indexing.

index
Type: System::Int32

The zero-based index in array at which copying begins.

.NET Framework
Available since 2.0
Return to top
Show: