EventLogPermissionEntryCollection.CopyTo(EventLogPermissionEntry[], Int32) 方法

定义

将权限项从此集合复制到数组中(从数组中特定的索引开始复制)。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)

参数

array
EventLogPermissionEntry[]

接收该集合权限项的 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.

适用于