PerformanceCounterPermissionEntryCollection.IndexOf 方法

定義

判斷在這個集合中的指定使用權限項目索引。

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

參數

value
PerformanceCounterPermissionEntry

用來搜尋的使用權限項目。

傳回

指定使用權限項目的以零起始索引,或 -1 (如果在集合中找不到使用權限項目)。

適用於