Data.DBXCommon.TDBXInt16Value.Compare

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

virtual short __fastcall Compare(TDBXValue* Other);

プロパティ

種類 可視性 ソース ユニット
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXInt16Value


説明

TDBXInt16Value を、パラメータで与えられた別の TDBXInt16Value と比較します。


Compare は、現在の TDBXInt16Value と、Other パラメータとを比較します。 Compare は、現在の TDBXInt16ValueOther より小さかったら -1 を、現在の TDBXInt16ValueOther より大きかったら 1 を、両者が同一だったら 0 を返します。


関連項目