Data.DBXCommon.TDBXInt16Value.Compare
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 は、現在の TDBXInt16Value が Other
より小さかったら -1 を、現在の TDBXInt16Value が Other
より大きかったら 1 を、両者が同一だったら 0 を返します。