ProfileInfoCollection::CopyTo Method (Array^, Int32)

 

Copies the ProfileInfoCollection to a one-dimensional array.

Namespace:   System.Web.Profile
Assembly:  System.Web (in System.Web.dll)

public:
virtual void CopyTo(
	Array^ array,
	int index
) sealed

Parameters

array
Type: System::Array^

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

index
Type: System::Int32

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

This method uses ArrayList::CopyTo to copy ProfileInfo objects to the specified Array.

.NET Framework
Available since 2.0
Return to top
Show: