System.Variants.TVariantRelationship
Delphi
TVariantRelationship = (vrEqual, vrLessThan, vrGreaterThan, vrNotEqual);
C++
enum DECLSPEC_DENUM TVariantRelationship : unsigned char { vrEqual, vrLessThan, vrGreaterThan, vrNotEqual };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
TVariantRelationship describes the results of comparing two Variants.
TVariantRelationship describes the relationship between two Variant values. The following table lists the possible values:
Value | Meaning |
---|---|
vrEqual |
A is equivalent to B. Note that two NULL Variants are considered equal, and two empty Variants are considered equal, but a NULL Variant does not equal an empty Variant. |
vrLessThan |
A is less than B. |
vrGreaterThan |
A is larger than B. |
vrNotEqual |
A and B are not equal, but the values are such that they can't be ordered relative to each other. For example, this describes the relationship when either A or B is empty or NULL, and the other one is not. |