ProcessThreadCollection.IndexOf(ProcessThread) 方法

定義

提供集合內指定執行緒的位置。

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

參數

thread
ProcessThread

ProcessThread,其索引已獲擷取。

傳回

以零為起始的索引,其定義 ProcessThreadCollection 內的執行緒位置。

適用於