System.Types.TValueRelationship
Delphi
TValueRelationship = -1..1;
C++
typedef System::Int8 TValueRelationship;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
説明
TValueRelationship は値の比較結果の候補を定義します。
CompareValue などのルーチンは、2 つの値を比較して等しいかどうかを調べます。比較結果は、以下のような TValueRelationship 値で返されます。
値 | 関連付けられている定数 | 意味 |
---|---|---|
-1 |
LessThanValue |
第 1 の値は第 2 の値よりも小さい。 |
0 |
EqualsValue |
2 つの値は等しい。 |
+1 |
GreaterThanValue |
第 1 の値は第 2 の値よりも大きい。 |