共用方式為


IDebugParsedExpression

This interface represents a parsed expression ready to be evaluated.

IDebugParsedExpression : IUnknown

Notes for Implementers

An expression evaluator implements this interface to represent a parsed expression that is ready for evaluation.

Notes for Callers

A call to IDebugExpressionEvaluator::Parse returns this interface.

Methods in Vtable Order

The following table shows the method of IDebugParsedExpression.

Method

Description

IDebugParsedExpression::EvaluateSync

Evaluates the parsed expression.

Remarks

When the caller is ready to evaluate the expression, it calls IDebugParsedExpression::EvaluateSync to return an IDebugProperty2 that contains the result of the evaluation. This two-part approach to evaluation, parsing then evaluating, enables the parsed expression to be evaluated multiple times, bypassing the time-consuming process of parsing the expression.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugExpressionEvaluator::Parse

IDebugParsedExpression::EvaluateSync

IDebugProperty2