GenericAcl.CopyTo(GenericAce[], Int32) Method

Definition

Copies each GenericAce of the current GenericAcl into the specified array.

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

Parameters

array
GenericAce[]

The array into which copies of the GenericAce objects contained by the current GenericAcl are placed.

index
Int32

The zero-based index of array where the copying begins.

Applies to