共用方式為


IDebugExpressionEvaluationCompleteEvent2::GetExpression

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 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