Freigeben über


ProcessThreadCollection.Add-Methode

Fügt einen Prozessthread an die Auflistung an.

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

Syntax

'Declaration
Public Function Add ( _
    thread As ProcessThread _
) As Integer
'Usage
Dim instance As ProcessThreadCollection
Dim thread As ProcessThread
Dim returnValue As Integer

returnValue = instance.Add(thread)
public int Add (
    ProcessThread thread
)
public:
int Add (
    ProcessThread^ thread
)
public int Add (
    ProcessThread thread
)
public function Add (
    thread : ProcessThread
) : int

Parameter

  • thread
    Der der Auflistung hinzuzufügende Thread.

Rückgabewert

Der nullbasierte Index des Threads in der Auflistung.

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