ServiceControllerPermissionEntryCollection.AddRange 方法

定义

向此集合中追加一组指定的权限项。

重载

AddRange(ServiceControllerPermissionEntry[])

向此集合中追加一组指定的权限项。

AddRange(ServiceControllerPermissionEntryCollection)

向此集合中追加一组指定的权限项。

AddRange(ServiceControllerPermissionEntry[])

Source:
ServiceControllerPermissionEntryCollection.cs
Source:
ServiceControllerPermissionEntryCollection.cs

向此集合中追加一组指定的权限项。

public:
 void AddRange(cli::array <System::ServiceProcess::ServiceControllerPermissionEntry ^> ^ value);
public void AddRange (System.ServiceProcess.ServiceControllerPermissionEntry[] value);
member this.AddRange : System.ServiceProcess.ServiceControllerPermissionEntry[] -> unit
Public Sub AddRange (value As ServiceControllerPermissionEntry())

参数

value
ServiceControllerPermissionEntry[]

ServiceControllerPermissionEntry 类型对象的数组,它包含要添加的权限项。

例外

valuenull

适用于

AddRange(ServiceControllerPermissionEntryCollection)

Source:
ServiceControllerPermissionEntryCollection.cs
Source:
ServiceControllerPermissionEntryCollection.cs

向此集合中追加一组指定的权限项。

public:
 void AddRange(System::ServiceProcess::ServiceControllerPermissionEntryCollection ^ value);
public void AddRange (System.ServiceProcess.ServiceControllerPermissionEntryCollection value);
member this.AddRange : System.ServiceProcess.ServiceControllerPermissionEntryCollection -> unit
Public Sub AddRange (value As ServiceControllerPermissionEntryCollection)

参数

例外

valuenull

适用于