AuthorizationRuleCollection.CopyTo(AuthorizationRule[], Int32) Method

Definition

Copies the contents of the collection to an array.

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

Parameters

rules
AuthorizationRule[]

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

index
Int32

The zero-based index from which to begin copying.

Applies to