Skip to main content

TcxCustomDataSource.IsNativeCompare Method

Specifies whether fast comparison operations are supported by the current data source.

Declaration

function IsNativeCompare: Boolean; virtual;

Returns

Type
Boolean

Remarks

This function returns True if fast comparison operations are supported by a custom data source. In this instance, the GetInfoForCompare method provides direct access in memory to the value of a specific record/column.

If the function returns False, then values to compare are obtained via the GetValue method. This operation is more time consuming as it involves conversions of Variant types.

See Also