Data.DBXCommon.TDBXAnsiStringValue.Compare
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
| Unit: Data.DBXCommon | |
| Parent: TDBXAnsiStringValue | |
Delphi
function Compare(Other: TDBXValue): Smallint; override;
C++
virtual short __fastcall Compare(TDBXValue* Other);
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.