IVsBooleanSymbolExpressionEvaluator2.EvaluateExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluates the expression.
public:
bool EvaluateExpression(System::String ^ wszExpression, Microsoft::VisualStudio::Shell::Interop::IVsBooleanSymbolPresenceChecker ^ pSymbolChecker);
public:
bool EvaluateExpression(Platform::String ^ wszExpression, Microsoft::VisualStudio::Shell::Interop::IVsBooleanSymbolPresenceChecker ^ pSymbolChecker);
bool EvaluateExpression(std::wstring const & wszExpression, Microsoft::VisualStudio::Shell::Interop::IVsBooleanSymbolPresenceChecker const & pSymbolChecker);
public bool EvaluateExpression (string wszExpression, Microsoft.VisualStudio.Shell.Interop.IVsBooleanSymbolPresenceChecker pSymbolChecker);
abstract member EvaluateExpression : string * Microsoft.VisualStudio.Shell.Interop.IVsBooleanSymbolPresenceChecker -> bool
Public Function EvaluateExpression (wszExpression As String, pSymbolChecker As IVsBooleanSymbolPresenceChecker) As Boolean
Parameters
- wszExpression
- String
The expression. For examples, P1 & P2 & (!P3 | P4). Null and empty strings are allowed; in that case the method returns true.
- pSymbolChecker
- IVsBooleanSymbolPresenceChecker
The object to check for presence of symbols encountered while parsing the expression. May NOT be null.
Returns
True if wszExpression
contains the symbol(s) in pSymbolChecker
, otherwise false.