ProfileInfoCollection.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.