語言

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中的位置的零基索引。

適用於