API:Data.DBXCommon.TDBXAnsiStringValue.Compare
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 | TDBXAnsiStringValue |
Description
Compares the TDBXValue with another TDBXValue given by the parameter.
Data.DBXCommon.TDBXAnsiStringValue.Compare inherits from Data.DBXCommon.TDBXValue.Compare. All content below this line refers to Data.DBXCommon.TDBXValue.Compare.
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.