ProcessModuleCollection.IndexOf Metoda

Definicja

Przeciążenia

IndexOf(ProcessModule)

Udostępnia lokalizację określonego modułu w kolekcji.

IndexOf(ProcessModule, Int32)
Nieaktualne.
IndexOf(ProcessModule, Int32, Int32)
Nieaktualne.

IndexOf(ProcessModule)

Udostępnia lokalizację określonego modułu w kolekcji.

public:
 int IndexOf(System::Diagnostics::ProcessModule ^ module);
public int IndexOf (System.Diagnostics.ProcessModule module);
member this.IndexOf : System.Diagnostics.ProcessModule -> int
Public Function IndexOf (module As ProcessModule) As Integer

Parametry

module
ProcessModule

Którego ProcessModule indeks jest pobierany.

Zwraca

Int32

Indeks oparty na zera, który definiuje lokalizację modułu w obiekcie ProcessModuleCollection.

Dotyczy

IndexOf(ProcessModule, Int32)

Przestroga

This API is no longer available

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

Parametry

index
Int32

Zwraca

Int32
Atrybuty

Dotyczy

IndexOf(ProcessModule, Int32, Int32)

Przestroga

This API is no longer available

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

Parametry

index
Int32
count
Int32

Zwraca

Int32
Atrybuty

Dotyczy