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: