ProcessModuleCollection.IndexOf(ProcessModule) Method

Definition

Provides the location of a specified module within the collection.

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

Parameters

module
ProcessModule

The ProcessModule whose index is retrieved.

Returns

The zero-based index that defines the location of the module within the ProcessModuleCollection.

Applies to