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 _
public void CopyTo(
 EventLogPermissionEntry[] array,
 int index
public: void CopyTo(
 EventLogPermissionEntry* array[],
 int index
public function CopyTo(
   array : EventLogPermissionEntry[],
 index : int


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


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