編輯

共用方式為


EventLogPermissionEntryCollection.IndexOf(EventLogPermissionEntry) Method

Definition

Determines the index of a specified permission entry in this collection.

public:
 int IndexOf(System::Diagnostics::EventLogPermissionEntry ^ value);
public int IndexOf (System.Diagnostics.EventLogPermissionEntry value);
member this.IndexOf : System.Diagnostics.EventLogPermissionEntry -> int
Public Function IndexOf (value As EventLogPermissionEntry) As Integer

Parameters

value
EventLogPermissionEntry

The permission entry to search for.

Returns

The zero-based index of the specified permission entry, or -1 if the permission entry was not found in the collection.

Applies to