IVsBooleanSymbolExpressionEvaluator2::EvaluateExpression Method (String^, IVsBooleanSymbolPresenceChecker^)
Visual Studio 2015
Evaluates the expression.
Assembly: Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)
bool EvaluateExpression(
String^ wszExpression,
IVsBooleanSymbolPresenceChecker^ pSymbolChecker
)
Parameters
- wszExpression
-
Type:
System::String^
The expression. For examples, P1 & P2 & (!P3 | P4). Null and empty strings are allowed; in that case the method returns true.
- pSymbolChecker
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsBooleanSymbolPresenceChecker^
The object to check for presence of symbols encountered while parsing the expression. May NOT be null.
Return Value
Type: System::BooleanTrue if wszExpression contains the symbol(s) in pSymbolChecker, otherwise false.
Show: