Version

ComparisonCondition Class Members

The following tables list the members exposed by ComparisonCondition.

Public Constructors
 NameDescription
Public ConstructorComparisonCondition ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyDisplayTextGets or sets the text to use in the UI for the condition.  
Public PropertyOperatorGets or sets the comparison operator.  
Public PropertyValueReturns the comparison value. This is the value on the right hand side of the comparison operator.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CreateOverloaded. Creates a new ComparisonCondition instance based on the specified parameters.  
Public MethodEqualsReturns true if the passed in object is equal  
Public Methodstatic (Shared in Visual Basic)GetComparisonOperatorFlagReturns the ComparisonOperatorFlags value associated with the specified comparison operator.  
Public Methodstatic (Shared in Visual Basic)GetComparisonOperatorsReturns the list of comparison operators that are included in the specified flags.  
Public Methodstatic (Shared in Visual Basic)GetCompatibleComparisonOperatorGets preferred comparison operator out of availableOperators for the specified data type. If none of the preferred operators are in the availableOperators flags, then it will return the operator associated with the first set bit in the availableOperators. If availableOperators parameter is empty (0), then it will return the default operator deemed the most appropriate for the specified data type.  
Public Methodstatic (Shared in Visual Basic)GetCompatibleComparisonOperatorsGets comparison operators that are compatible with values of specified data type.  
Public MethodGetHashCodeCaclulates a value used for hashing  
Public Methodstatic (Shared in Visual Basic)IsCompareValueValidIndicates if the compare value is valid for the specified operator.  
Public Methodstatic (Shared in Visual Basic)IsCountingOperatorIndicates if the specified operator counts top or bottom N number of values (Top, TopPercentile, Bottom, BottomPercentile).  
Public MethodIsMatchReturns true if the specified value matches the condition. False otherwise.  
Public Methodstatic (Shared in Visual Basic)IsQuantitativeComparisonIndicates if the specified operator performs quantitative comparison.  
Public Methodstatic (Shared in Visual Basic)IsStringComparisonIndicates if the specified operator performs string comparison.  
Public MethodToStringReturns a string representation of the condition.  
See Also