Bewerken

Share via


ProfileInfoCollection.CopyTo Method

Definition

Copies the ProfileInfoCollection to a one-dimensional array.

Overloads

CopyTo(Array, Int32)

Copies the ProfileInfoCollection to a one-dimensional array.

CopyTo(ProfileInfo[], Int32)

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

CopyTo(Array, Int32)

Copies the ProfileInfoCollection to a one-dimensional array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

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

index
Int32

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

Implements

Remarks

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

See also

Applies to

CopyTo(ProfileInfo[], Int32)

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

public:
 void CopyTo(cli::array <System::Web::Profile::ProfileInfo ^> ^ array, int index);
public void CopyTo (System.Web.Profile.ProfileInfo[] array, int index);
member this.CopyTo : System.Web.Profile.ProfileInfo[] * int -> unit
Public Sub CopyTo (array As ProfileInfo(), index As Integer)

Parameters

array
ProfileInfo[]

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

index
Int32

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

Remarks

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

See also

Applies to