Edit

Share via


EventLogPermissionEntryCollection.CopyTo Method

Definition

Copies the permission entries from this collection to an array, starting at a particular index of the array.

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

Parameters

array
EventLogPermissionEntry[]

An array of type EventLogPermissionEntry that receives this collection's permission entries.

index
Int32

The zero-based index at which to begin copying the permission entries.

Applies to