Rediger

Del via


ICorDebugVariableHome::GetOffset Method

Gets the offset from the base register for a variable.

Syntax

HRESULT GetOffset(  
    [out] LONG *pOffset  
);  

Parameters

pOffset
[out] The offset from the base register.

Return Value

The method returns the following values:

Value Description
S_OK The variable is in a register-relative memory location.
E_FAIL The variable is not in a register-relative memory location.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6.2

See also