This documentation is archived and is not being maintained.

EventLogPermissionEntryCollection.CopyTo Method

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

[Visual Basic]
Public Sub CopyTo( _
   ByVal array() As EventLogPermissionEntry, _
   ByVal index As Integer _
)
[C#]
public void CopyTo(
 EventLogPermissionEntry[] array,
 int index
);
[C++]
public: void CopyTo(
 EventLogPermissionEntry* array[],
 int index
);
[JScript]
public function CopyTo(
   array : EventLogPermissionEntry[],
 index : int
);

Parameters

array
An array of type EventLogPermissionEntry that receives this collection's permission entries.
index
The zero-based index at which to begin copying the permission entries.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EventLogPermissionEntryCollection Class | EventLogPermissionEntryCollection Members | System.Diagnostics Namespace

Show: