EventLogPermissionEntryCollection.Contains(EventLogPermissionEntry) 方法

定义

确定该集合是否包含指定的 EventLogPermissionEntry

public:
 bool Contains(System::Diagnostics::EventLogPermissionEntry ^ value);
public bool Contains (System.Diagnostics.EventLogPermissionEntry value);
member this.Contains : System.Diagnostics.EventLogPermissionEntry -> bool
Public Function Contains (value As EventLogPermissionEntry) As Boolean

参数

返回

如果指定的 EventLogPermissionEntry 属于该集合,则为 true;否则为 false

适用于