IcorDebugVariableHome::GetLiveRange 方法

取得此變數作用中的原生範圍。

語法

HRESULT GetLiveRange(  
    [out] ULONG32* pStartOffset,  
    [out] ULONG32 *pEndOffset  
);  

參數

pStartOffset
[out] 變數首次作用中的邏輯位移。

pEndOffset
[out] 緊接變數最後一次作用中時間點的邏輯位移。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 4.6.2 起提供

另請參閱