ProcessThreadCollection.Add(ProcessThread) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將程序執行緒附加到集合中。
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
這個討論串要加入收藏。
傳回
集合中執行緒的零基索引。