Version

GetCompatibleComparisonOperators(Type,ComparisonOperator) Method

Gets comparison operators that are compatible with values of specified data type.
Syntax
'Declaration
 
Public Shared Function GetCompatibleComparisonOperators( _
   ByVal dataType As Type, _
   ByRef defaultUIOperator As ComparisonOperator _
) As ComparisonOperatorFlags
public static ComparisonOperatorFlags GetCompatibleComparisonOperators( 
   Type dataType,
   out ComparisonOperator defaultUIOperator
)

Parameters

dataType
Operators compatible with values of this data type are returned.
defaultUIOperator
This will be set to an operator that is most suitable as the default operator in an operator selection UI part of filtering UI.

Return Value

Operators compatible with values of specified data type.
Requirements

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

See Also