Data.DBXCommon.TDBXWideStringValue.Compare

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Compare(Other: TDBXValue): Smallint; override;

C++

virtual short __fastcall Compare(TDBXValue* Other);

Properties

Type Visibility Source Unit Parent
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXWideStringValue

Description

Compares the TDBXWideStringValue with another TDBXWideStringValue given by the parameter.


Compare compares the current TDBXWideStringValue with the Other parameter. The comparison is case-insensitive. Compare returns -1 if the current TDBXWideStringValue is less than Other, 1 if the current TDBXWideStringValue is greater than Other, and 0 if they are equal.


See Also