IDebugExpression::GetResultAsString

Returns the result of the expression evaluation as a string and the operation's return value.

Syntax

HRESULT GetResultAsString(  
   HRESULT*  phrResult,  
   BSTR*     pbstrResult  
);  

Parameters

phrResult
[out] The operation's return value.

pbstrResult
[out] The result of the expression evaluation.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.
E_PENDING The operation is still pending.

Remarks

This method returns the result of the expression evaluation as a string and the operation's HRESULT.

This method returns S_OK and phrResult returns E_ABORT if Abort aborts the operation.

See also

IDebugExpression Interface