Editar

Compartir a través de


PerformanceCounterPermissionEntryCollection.IndexOf Method

Definition

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

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

Parameters

value
PerformanceCounterPermissionEntry

The permission entry for which to search.

Returns

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

Applies to