IEEVisualizerDataProvider::GetNewObjectForVisualizer
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 a new object for the visualizer. This method will always create a new object from the existing object.
Syntax
HRESULT GetNewObjectForVisualizer(
IDebugObject** ppObject
);
int GetNewObjectForVisualizer(
out IDebugObject ppObject
);
Parameters
ppObject
[out] The new object.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
This method
re-evaluates the object it currently represents and returns the result as a new object. The existing object will be updated as a result of the evaluation.