System.Web.Security.RoleProviderCollection.CopyTo Method

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

Syntax

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

Parameters

array
A one-dimensional Array that is the destination of the elements copied from the System.Web.Security.RoleProviderCollection. 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