Data.DBXCommon.TDBXInt64Value.Compare

From RAD Studio API Documentation
Jump to: navigation, search

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 TDBXInt64Value

Description

Compares the TDBXValue with another TDBXValue given by the parameter.

Data.DBXCommon.TDBXInt64Value.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.

See Also