System.Web.Profile.ProfileInfoCollection.CopyTo Method

Copies the System.Web.Profile.ProfileInfoCollection to a one-dimensional array.

Syntax

public void CopyTo (Array array, int index)

Parameters

array
A one-dimensional Array that is the destination of the elements copied from the System.Web.Profile.ProfileInfoCollection. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Remarks

This method uses ArrayList.CopyTo(Array, int) to copy System.Web.Profile.ProfileInfo objects to the specified Array.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0