Edit

Share via


PerformanceCounterPermissionEntryCollection.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::PerformanceCounterPermissionEntry ^> ^ array, int index);
public void CopyTo (System.Diagnostics.PerformanceCounterPermissionEntry[] array, int index);
member this.CopyTo : System.Diagnostics.PerformanceCounterPermissionEntry[] * int -> unit
Public Sub CopyTo (array As PerformanceCounterPermissionEntry(), index As Integer)

Parameters

array
PerformanceCounterPermissionEntry[]

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

index
Int32

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

Applies to