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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.