VisualGDB SDK Documentation

IExpressionFilter.Attach Method

Allows VisualGDB to replace the given expression with a custom expression provided by the filter.

IExpression Attach(
   IExpression expr,
   IExpressionEvaluator evaluator
);

Parameters

expr
Specifies the expression that is being filtered.
evaluator
Provides an interface that allows the filter implementation to evaluate arbitrary expressions.

Return Value

Returns the expression that will be displayed to the user instead of the original one. In the simplest case can be an instance of the StaticExpressionFilter class.

See Also

IExpressionFilter Interface | VisualGDBExpressions Namespace