ProcessModuleCollection.Contains(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.
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
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.