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的位置的从零开始的索引。