ProcessThreadCollection.IndexOf(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.
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.