ProcessModuleCollection.Contains Method (ProcessModule)

 

Determines whether the specified process module exists in the collection.

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

public bool Contains(
	ProcessModule module
)

Parameters

module
Type: System.Diagnostics.ProcessModule

A ProcessModule instance that indicates the module to find in this collection.

Return Value

Type: System.Boolean

true if the module exists in the collection; otherwise, false.

A module is identified by its module name and its fully qualified file path.

.NET Framework
Available since 1.1
Return to top
Show: