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)

abstract CopyTo : 
        array:Array *
        index:int -> unit
override CopyTo : 
        array:Array *
        index:int -> unit


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.

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
© 2016 Microsoft