Freigeben über


ProcessThreadCollection.Contains-Methode

Bestimmt, ob der angegebene Prozessthread in der Auflistung enthalten ist.

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

Syntax

'Declaration
Public Function Contains ( _
    thread As ProcessThread _
) As Boolean
'Usage
Dim instance As ProcessThreadCollection
Dim thread As ProcessThread
Dim returnValue As Boolean

returnValue = instance.Contains(thread)
public bool Contains (
    ProcessThread thread
)
public:
bool Contains (
    ProcessThread^ thread
)
public boolean Contains (
    ProcessThread thread
)
public function Contains (
    thread : ProcessThread
) : boolean

Parameter

  • thread
    Eine ProcessThread-Instanz, die den in dieser Auflistung zu suchenden Thread anzeigt.

Rückgabewert

true, wenn der Thread in der Auflistung vorhanden ist, andernfalls false.

Hinweise

Ein Modul wird mit seinem Modulnamen und seinem voll gekennzeichneten Dateipfad bezeichnet.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

ProcessThreadCollection-Klasse
ProcessThreadCollection-Member
System.Diagnostics-Namespace