API: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 TDBXWideStringValue with another TDBXWideStringValue given by the parameter.

Data.DBXCommon.TDBXWideCharsValue.Compare inherits from Data.DBXCommon.TDBXWideStringValue.Compare. All content below this line refers to Data.DBXCommon.TDBXWideStringValue.Compare.

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