ProcessModuleCollection.IndexOf(ProcessModule) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.