ProcessThreadCollection.Contains Method (ProcessThread)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the specified process thread exists in the collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public bool Contains(
	ProcessThread thread
)

Parameters

thread
Type: System.Diagnostics.ProcessThread

A ProcessThread instance that indicates the thread to find in this collection.

Return Value

Type: System.Boolean

true if the thread exists in the collection; otherwise, false.

A module is identified by its module name and its fully qualified file path.

.NET Framework
Available since 1.1
Return to top
Show: