Jaa


IDebugProperty2::GetMemoryContext

Applies to: yesVisual Studio noVisual 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

Gets the memory context of the property value.

Syntax

HRESULT GetMemoryContext ( 
   IDebugMemoryContext2** ppMemory
);
int GetMemoryContext(
   out IDebugMemoryContext2 ppMemory
);

Parameters

ppMemory
[out] Returns the IDebugMemoryContext2 object that represents the memory associated with this property.

Return Value

If successful, returns S_OK; otherwise returns error code. Returns S_GETMEMORYCONTEXT_NO_MEMORY_CONTEXT if there is no memory context to retrieve.

See also