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
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 object for the module, then calls IMetaDataEmit::SaveToMemory to save a copy of the module's metadata to memory.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0