Muokkaa

Jaa


IXCLRDataModule Interface

Provides methods for querying information about a loaded module.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Methods

Method Description
StartEnumTypeDefinitions Provides a handle to enumerate the type definitions associated with the module.
EnumTypeDefinition Enumerates the type definitions associated with the module.
EndEnumTypeDefinitions Releases the resources used by internal iterators used during type definition enumeration.
StartEnumMethodInstancesByName Provides a handle to enumerate method instances of a given name and AppDomain associated with the module.
EnumMethodInstanceByName Enumerates method instances of a given name and AppDomain associated with the module.
EndEnumMethodInstancesByName Releases the resources used by internal iterators used during method instance enumeration.
GetMethodDefinitionByToken Gets the method definition corresponding to a given metadata token.
GetFileName Gets the full path and filename for the module, if there is one.
StartEnumExtents Provides a handle to enumerate memory regions associated with the module.
EnumExtent Enumerates memory regions associated with the module.
EndEnumExtents Releases the resources used by internal iterators used during memory range enumeration.
Request Requests to populate the buffer given with the module's data.
GetVersionId Gets the module's version ID.

Remarks

This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID 88E32849-0A0A-4cb0-9022-7CD2E9E139E2 that can be obtained through the usual COM mechanisms.

Requirements

Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7

See also