'Declaration Function Evaluate( _ ByVal comparisonOperator As ComparisonOperator, _ ByRef lhs As Object, _ ByRef rhs As Object, _ ByVal context As ConditionEvaluationContext _ ) As Nullable(Of Boolean)
Nullable<bool> Evaluate( ComparisonOperator comparisonOperator, ref object lhs, ref object rhs, ConditionEvaluationContext context )
This method lets you evaluate the comparison operator. You can choose to evaluate specific operators only and let the default logic handle the evaluation of other operators by returning null. Another use for this method is to provide custom conversion logic for converting the lhs and rhs before the default built-in implementation evaluates the comparison. To do that you would set the 'lhs' and 'rhs' ref parameters to their converted representations and return null from the method. The default built-in evaluation logic will use the converted values.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2