ICorDebugCode::GetAddress 方法

获取此 "ICorDebugCode" 接口表示的代码段的相对虚拟地址 (RVA)。

语法

HRESULT GetAddress (  
    [out] CORDB_ADDRESS *pStart  
);  

参数

pStart
[out] 指向代码段的 RVA 的指针。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用