System.Web.Security.MembershipProviderCollection.CopyTo Method

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

Syntax

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

Parameters

array
A one-dimensional array that is the destination of the elements copied from the System.Web.Security.MembershipProviderCollection. The array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Remarks

This method uses ArrayList.CopyTo(Array, int) to copy role provider objects to the specified array.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0