語言

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。

適用於