Compartir a través de


IDebugParsedExpression

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

Important

In Visual Studio 2015, this way of implementing expression evaluators is deprecated. For information about implementing CLR expression evaluators, please see CLR Expression Evaluators and Managed Expression Evaluator Sample.

This interface represents a parsed expression ready to be evaluated.

Syntax

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 Parse returns this interface.

Methods in Vtable Order

The following table shows the method of IDebugParsedExpression.

Method Description
EvaluateSync Evaluates the parsed expression.

Remarks

When the caller is ready to evaluate the expression, it calls 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