Share via


IDebugExpressionEvaluationCompleteEvent2::GetExpression

Note

This article applies to Visual Studio 2015. 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 original expression.

Syntax

HRESULT GetExpression(   
   IDebugExpression2** ppExpr  
);  
int GetExpression(   
   out IDebugExpression2 ppExpr  
);  

Parameters

ppExpr
[out] Returns an IDebugExpression2 object that represents the expression that was parsed.

Return Value

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

Remarks

This method returns the object that was created in a call to the ParseText method.

See Also

IDebugExpressionEvaluationCompleteEvent2
IDebugExpression2
ParseText