Data.DBXCommon.TDBXValue.Compare
Delphi
function Compare(Other: TDBXValue): Smallint; virtual;
C++
virtual short __fastcall Compare(TDBXValue* Other);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXValue |
Description
Compares the TDBXValue with another TDBXValue given by the parameter.
Compare compares the current TDBXValue with the Other
parameter. Compare returns -1 if the current TDBXValue is smaller than Other
, 1 if the current TDBXValue is greater than Other
, and 0 if they are equal.
Compare is a virtual method. All derived members have the same functionality implemented depending on the type of TDBXValue.