System.Web.Profile.ProfileInfoCollection.CopyTo Method

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

Syntax

public void CopyTo (ProfileInfo[] array, int index)

Parameters

array
A one-dimensional array of type System.Web.Profile.ProfileInfo 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 the 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