AuthorizationRuleCollection::CopyTo Method (array<AuthorizationRule^>^, Int32)

 

Copies the contents of the collection to an array.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public:
void CopyTo(
	array<AuthorizationRule^>^ rules,
	int index
)

Parameters

rules
Type: array<System.Security.AccessControl::AuthorizationRule^>^

An array to which to copy the contents of the collection.

index
Type: System::Int32

The zero-based index from which to begin copying.

.NET Framework
Available since 2.0
Return to top
Show: