MembershipUserCollection.CopyTo(MembershipUser[], Int32) Method

Definition

Copies the membership user collection to a one-dimensional array.

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

Parameters

array
MembershipUser[]

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

index
Int32

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

Applies to

See also