แก้ไข

แชร์ผ่าน


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

Parameters

array
ServiceControllerPermissionEntry[]

An array of type ServiceControllerPermissionEntry that receives the copied permission entries.

index
Int32

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

Applies to