Version

PreferredComparisonDataType Property

Indicates the data type that should be used to coerce values before performing quantitative comparisons.
Syntax
'Declaration
 
Public MustOverride ReadOnly Property PreferredComparisonDataType As Type
public abstract Type PreferredComparisonDataType {get;}
Remarks

PreferredComparisonDataType indicates the data type that should be used to coerce values before performing comparison. This is only applicable to quantitative comparison operators, like GreaterThan, LessThan etc… and does not apply to string comparison operators like StartsWith, Contains etc… This property will typically return the underlying data type of the field. For example, in data presenter this will be the field’s EditAsTypeResolved which defaults to the Field's DataType.

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