Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ProcessThreadCollection::IndexOf Method (ProcessThread^)

 

Provides the location of a specified thread within the collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
int IndexOf(
	ProcessThread^ thread
)

Parameters

thread
Type: System.Diagnostics::ProcessThread^

The ProcessThread whose index is retrieved.

Return Value

Type: System::Int32

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft