语言

ProcessThreadCollection.Contains(ProcessThread) 方法

定义

确定集合中是否存在指定的进程线程。

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.

注解

模块名称及其完全限定的文件路径标识模块。

适用于