IExpressionFilterProbe Method

Called by VisualGDB to determine whether the current filter can filter the given expression.

Definition

Namespace: VisualGDBExpressions
Assembly: VisualGDBExpressions (in VisualGDBExpressions.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
bool Probe(
	IExpression expr,
	IExpressionEvaluator evaluator,
	out int score
)

Parameters

expr  IExpression
Specifies the expression that is being filtered.
evaluator  IExpressionEvaluator
Provides an interface that allows the filter implementation to evaluate arbitrary expressions.
score  Int32
If the filter can handle the given expression, this parameter receives the relative score. If multiple filters want to attach to the same expression, VisualGDB will pick the one with the highest score. The default score returned by the built-in STL expression filters is 100.

Return Value

Boolean
If the filter can attach to the expression, this method returns true. Otherwise it returns false.

See Also