ProcessThreadCollection.IndexOf(ProcessThread) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供集合中指定執行緒的位置。
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中的位置的零基索引。