共用方式為


ICorDebugModule::GetBaseAddress 方法

取得模組的基位址。

語法

HRESULT GetBaseAddress(
    [out] CORDB_ADDRESS *pAddress
);

參數

pAddress [out] CORDB_ADDRESS ,指定模組的基位址。

備註

如果模組是原生映像(也就是說,如果模組是由原生映像產生器所產生,NGen.exe),則其基位址會是零。

需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework 版本: 自 1.0 起提供

另請參閱