ProcessModuleCollection::IndexOf Method (ProcessModule^)

 

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: