หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets a metadata interface object that can be used to examine the metadata for the module.
Syntax
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 T: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 supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0