EventLogPermissionEntryCollection.AddRange 方法

定义

向此集合中追加一组指定的权限项。Appends a set of specified permission entries to this collection.

重载

AddRange(EventLogPermissionEntry[])

向此集合中追加一组指定的权限项。Appends a set of specified permission entries to this collection.

AddRange(EventLogPermissionEntryCollection)

向此集合中追加一组指定的权限项。Appends a set of specified permission entries to this collection.

AddRange(EventLogPermissionEntry[])

向此集合中追加一组指定的权限项。Appends a set of specified permission entries to this collection.

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

参数

value
EventLogPermissionEntry[]

EventLogPermissionEntry 类型对象的数组,它包含要添加的权限项。An array of type EventLogPermissionEntry objects that contains the permission entries to add.

例外

valuenullvalue is null.

AddRange(EventLogPermissionEntryCollection)

向此集合中追加一组指定的权限项。Appends a set of specified permission entries to this collection.

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

参数

value
EventLogPermissionEntryCollection

一个 EventLogPermissionEntryCollection,它包含要添加的权限项。A EventLogPermissionEntryCollection that contains the permission entries to add.

例外

valuenullvalue is null.

适用于