Data.DBXCommon.TDBXValue.Compare
Delphi
function Compare(Other: TDBXValue): Smallint; virtual;
C++
virtual short __fastcall Compare(TDBXValue* Other);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXValue |
説明
TDBXValue を、パラメータで与えられた別の TDBXValue と比較します。
Compare は、現在の TDBXValue と、Other
パラメータとを比較します。 Compare は、現在の TDBXValue が Other
より小さかったら -1 を、現在の TDBXValue が Other
より大きかったら 1 を、両者が同一だったら 0 を返します。
Compare は仮想メソッドです。すべての派生メンバは、TDBXValue の型に応じて実装された、同じ機能を持っています。