PerformanceCounterPermissionEntryCollection.IndexOf Method (PerformanceCounterPermissionEntry)


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

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

public int IndexOf(
	PerformanceCounterPermissionEntry value


Type: System.Diagnostics.PerformanceCounterPermissionEntry

The permission entry for which to search.

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