Redigera

Dela via


ProcessModuleCollection.Contains(ProcessModule) Method

Definition

Determines whether the specified process module exists in the collection.

public:
 bool Contains(System::Diagnostics::ProcessModule ^ module);
public bool Contains (System.Diagnostics.ProcessModule module);
member this.Contains : System.Diagnostics.ProcessModule -> bool
Public Function Contains (module As ProcessModule) As Boolean

Parameters

module
ProcessModule

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

Returns

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

Remarks

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

Applies to