Share via


IEEVisualizerDataProvider::GetObjectForVisualizer

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

This method gets the object that this visualizer represents.

Syntax

HRESULT GetObjectForVisualizer(
   IDebugObject** ppObject
);
int GetObjectForVisualizer(
   out IDebugObject ppObject
);

Parameters

ppObject
[out] The object being represented by this visualizer

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

GetObjectForVisualizer is allowed to return a cached version of the object. If the caller wants to make sure that the object is up to date, then it will call GetNewObjectForVisualizer.

See also