Data.DBXCommon.TDBXValue.Compare

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXValue

Delphi

function Compare(Other: TDBXValue): Smallint; virtual;

C++

virtual short __fastcall Compare(TDBXValue* Other);

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.

See Also