Data.DBXCommon.TDBXUInt16Value.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 | TDBXUInt16Value |
Description
Compares the TDBXValue with another TDBXValue given by the parameter. {{#multireplace:Data.DBXCommon.TDBXUInt16Value.Compare|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXValue.Compare|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TDBXValue.Compare|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.