ProcessThreadCollection.Add(ProcessThread) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.