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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.