共用方式為


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

適用於