MembershipUserCollection.CopyTo Method (MembershipUser[], 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 membership user collection to a one-dimensional array.

Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

public void CopyTo(
	MembershipUser[] array,
	int index
)

Parameters

array
Type: System.Web.Security.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
Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: