ProcessThreadCollection.Contains(ProcessThread) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定集合中是否存在指定的进程线程。
public:
bool Contains(System::Diagnostics::ProcessThread ^ thread);
public bool Contains(System.Diagnostics.ProcessThread thread);
member this.Contains : System.Diagnostics.ProcessThread -> bool
Public Function Contains (thread As ProcessThread) As Boolean
参数
- thread
- ProcessThread
一个 ProcessThread 实例,指示要在此集合中找到的线程。
返回
true 如果集合中存在线程,则为否则,为 false.
注解
模块名称及其完全限定的文件路径标识模块。