EventLogPermissionEntryCollection.IndexOf(EventLogPermissionEntry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.