ProcessModuleCollection.IndexOf Method (ProcessModule)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides the location of a specified module within the collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public int IndexOf(
	ProcessModule module
)

Parameters

module
Type: System.Diagnostics.ProcessModule

The ProcessModule whose index is retrieved.

Return Value

Type: System.Int32

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

.NET Framework
Available since 1.1
Return to top
Show: