EventLogPermissionEntryCollection.IndexOf Method (EventLogPermissionEntry)

 

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

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public int IndexOf(
	EventLogPermissionEntry value
)

Parameters

value
Type: System.Diagnostics.EventLogPermissionEntry

The permission entry to search for.

Return Value

Type: System.Int32

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

.NET Framework
Available since 1.1
Return to top
Show: