共用方式為


ExpectedProcessCollection.IndexOf 方法

傳回指定之項目的索引。

命名空間:  Microsoft.VisualStudio.IntelliTrace
組件:  Microsoft.IntelliTrace.11.0.0 (在 Microsoft.IntelliTrace.11.0.0.dll 中)

語法

'宣告
Public Function IndexOf ( _
    item As ExpectedProcessCollectionEntry _
) As Integer
public int IndexOf(
    ExpectedProcessCollectionEntry item
)
public:
virtual int IndexOf(
    ExpectedProcessCollectionEntry^ item
) sealed
abstract IndexOf : 
        item:ExpectedProcessCollectionEntry -> int 
override IndexOf : 
        item:ExpectedProcessCollectionEntry -> int 
public final function IndexOf(
    item : ExpectedProcessCollectionEntry
) : int

參數

傳回值

型別:System.Int32

實作

IList<T>.IndexOf(T)

.NET Framework 安全性

請參閱

參考

ExpectedProcessCollection 類別

Microsoft.VisualStudio.IntelliTrace 命名空間