Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CopyTo Method (Array, Int32)
Collapse the table of content
Expand the table of content

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 void CopyTo(
	Array array,
	int index
)

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.

Implements

ICollection.CopyTo(Array, Int32)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft