IDebugBinder::Bind
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
This method gets the memory context or object that contains the symbol's current value.
Syntax
HRESULT Bind(
IDebugObject* pContainer,
IDebugField* pField,
IDebugObject** ppObject
);
int Bind(
IDebugObject pContainer,
IDebugField pField,
out IDebugObject ppObject
);
Parameters
pContainer
[in] The IDebugObject that contains the child referenced by pField
.
pField
[in] The IDebugField that represents the symbol.
ppObject
[out] Returns the IDebugObject
that represents the instance of the symbol.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.