Επεξεργασία

Κοινή χρήση μέσω


ProcessThreadCollection.IndexOf(ProcessThread) Method

Definition

Provides the location of a specified thread within the collection.

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

Parameters

thread
ProcessThread

The ProcessThread whose index is retrieved.

Returns

The zero-based index that defines the location of the thread within the ProcessThreadCollection.

Applies to