Share via


ProcessThreadCollection.Add(ProcessThread) Metode

Definisi

Menambahkan utas proses ke koleksi.

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

Parameter

thread
ProcessThread

Utas yang akan ditambahkan ke koleksi.

Mengembalikan

Indeks berbasis nol dari utas dalam koleksi.

Berlaku untuk