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 TDBXAnsiStringValue with another TDBXAnsiStringValue given by a parameter.
Compare compares the current TDBXAnsiStringValue with the Other
parameter, without case sensitivity. Compare returns a value less than 0 if the current TDBXAnsiStringValue is smaller than Other
, a value greater than 0 if the current TDBXAnsiStringValue is greater than Other
, and 0 if they are equal.