ProcessThreadCollection.IndexOf Metodo

Definizione

Overload

IndexOf(ProcessThread)

Fornisce il percorso di un thread specificato all'interno della raccolta.Provides the location of a specified thread within the collection.

IndexOf(ProcessThread, Int32)
Obsoleta.
IndexOf(ProcessThread, Int32, Int32)
Obsoleta.

IndexOf(ProcessThread)

Fornisce il percorso di un thread specificato all'interno della raccolta.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

Parametri

thread
ProcessThread

Oggetto ProcessThread di cui viene recuperato l'indice.The ProcessThread whose index is retrieved.

Restituisce

Int32

Indice in base zero che definisce la posizione del thread all'interno di ProcessThreadCollection.The zero-based index that defines the location of the thread within the ProcessThreadCollection.

Si applica a

IndexOf(ProcessThread, Int32)

Attenzione

This API is no longer available

public:
 int IndexOf(System::Diagnostics::ProcessThread ^ item, int index);
[System.Obsolete("This API is no longer available", true)]
public int IndexOf (System.Diagnostics.ProcessThread item, int index);
[<System.Obsolete("This API is no longer available", true)>]
member this.IndexOf : System.Diagnostics.ProcessThread * int -> int
Public Function IndexOf (item As ProcessThread, index As Integer) As Integer

Parametri

index
Int32

Restituisce

Int32
Attributi

Si applica a

IndexOf(ProcessThread, Int32, Int32)

Attenzione

This API is no longer available

public:
 int IndexOf(System::Diagnostics::ProcessThread ^ item, int index, int count);
[System.Obsolete("This API is no longer available", true)]
public int IndexOf (System.Diagnostics.ProcessThread item, int index, int count);
[<System.Obsolete("This API is no longer available", true)>]
member this.IndexOf : System.Diagnostics.ProcessThread * int * int -> int
Public Function IndexOf (item As ProcessThread, index As Integer, count As Integer) As Integer

Parametri

index
Int32
count
Int32

Restituisce

Int32
Attributi

Si applica a