ProfileInfoCollection.CopyTo Method (Array, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Copies the ProfileInfoCollection to a one-dimensional array.

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

Public Sub CopyTo (
	array As Array,
	index As Integer
)

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: