ComparisonCondition.Evaluate Method

Method that evaluates the condition. Note that this method can throw ArgumentException if the operator is incompatible with the type. For instance, operators LessThan, LessThanOrEqual, GreaterThan, and GreaterThanOrEqual require both operators to implement IComparable.

Namespace: Microsoft.Expression.Interactivity.Core
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
Public Function Evaluate As Boolean
'Usage
Dim instance As ComparisonCondition
Dim returnValue As Boolean

returnValue = instance.Evaluate
public bool Evaluate ()
public:
bool Evaluate ()
public boolean Evaluate ()
public function Evaluate () : boolean

Return Value

Returns true if the condition has been met; otherwise, returns false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ComparisonCondition Class
ComparisonCondition Members
Microsoft.Expression.Interactivity.Core Namespace