IcorDebugVariableHome:: GetLiveRange 方法IcorDebugVariableHome::GetLiveRange Method

取得這個變數的存留原生範圍。Gets the native range over which this variable is live.

語法Syntax

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

參數Parameters

pStartOffset
擴展變數第一次存留的邏輯位移。[out] The logical offset at which the variable is first live.

pEndOffset
擴展緊接在變數最後存留點之後的邏輯位移。[out] The logical offset immediately after the point at which the variable is last live.

需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.6.2 起可用Available since 4.6.2.NET Framework Versions: 自 4.6.2 起可用Available since 4.6.2

另請參閱See also