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

Description

Compares the TDBXWideCharsValue with another TDBXWideCharsValue given by the parameter.


Compare compares the current TDBXWideCharsValue with the Other parameter. The comparison is case-insensitive. Compare returns -1 if the current TDBXWideCharsValue is less than Other, 1 if the current TDBXWideCharsValue is greater than Other, and 0 if they are equal.


See Also