ProcessThreadCollection.Add(ProcessThread) Method

Definition

Appends a process thread to the collection.

public:
 int Add(System::Diagnostics::ProcessThread ^ thread);
public int Add (System.Diagnostics.ProcessThread thread);
member this.Add : System.Diagnostics.ProcessThread -> int
Public Function Add (thread As ProcessThread) As Integer

Parameters

thread
ProcessThread

The thread to add to the collection.

Returns

The zero-based index of the thread in the collection.

Applies to