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

Delphi

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

C++

virtual short __fastcall Compare(TDBXValue* Other);

Description

Compares the TDBXWideStringValue with another TDBXWideStringValue given by the parameter.


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


See Also