ProcessThreadCollection.Add(ProcessThread) 方法

定義

將處理序執行緒附加至集合。

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

參數

thread
ProcessThread

要新增到集合的執行緒。

傳回

此集合中以零起始的執行緒索引。

適用於