ProjectInstance.EvaluateCondition(String) 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 provided string as a condition by expanding items and properties, using the current items and properties available, then doing a logical evaluation. This is useful for the immediate window. Does not expand bare metadata expressions.
public:
virtual bool EvaluateCondition(System::String ^ condition);
public bool EvaluateCondition (string condition);
abstract member EvaluateCondition : string -> bool
override this.EvaluateCondition : string -> bool
Public Function EvaluateCondition (condition As String) As Boolean
Parameters
- condition
- String
The string to be expanded.
Returns
true
if the string evaluates to true; otherwise, false
.
Remarks
This is useful for the immediate window.
Does not expand bare metadata expressions.