ICorDebugModule::GetMetaDataInterface Method
Gets a metadata interface object that can be used to examine the metadata for the module.
HRESULT GetMetaDataInterface (
[in] REFIID riid,
[out] IUnknown **ppObj
);
Parameters
Parameter | Description |
---|---|
riid |
[in] The reference ID that specifies the metadata interface. |
ppObj |
[out] A pointer to the address of an IUnknown object that is one of the Metadata Interfaces. |
Remarks
The debugger can use the GetMetaDataInterface method to make a copy of the original metadata for a module, which it must do in order to edit that module. The debugger calls GetMetaDataInterface to get an IMetaDataEmit Interface interface object for the module, then calls IMetaDataEmit::SaveToMemory Method to save a copy of the module's metadata to memory.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 2.0, 1.1, 1.0
See Also
Reference
ICorDebugModule Interface
ICorDebugModule2 Interface