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

Delphi

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

C++

virtual short __fastcall Compare(TDBXValue* Other);

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