API:Data.DBXCommon.TDBXDoubleValue.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 | TDBXDoubleValue |
説明
TDBXValue を、パラメータで与えられた別の TDBXValue と比較します。
Data.DBXCommon.TDBXDoubleValue.Compare は Data.DBXCommon.TDBXValue.Compare を継承しています。以下の内容はすべて Data.DBXCommon.TDBXValue.Compare を参照しています。
TDBXValue を、パラメータで与えられた別の TDBXValue と比較します。
Compare は、現在の TDBXValue と、Other
パラメータとを比較します。 Compare は、現在の TDBXValue が Other
より小さかったら -1 を、現在の TDBXValue が Other
より大きかったら 1 を、両者が同一だったら 0 を返します。
Compare は仮想メソッドです。すべての派生メンバは、TDBXValue の型に応じて実装された、同じ機能を持っています。