System.Variants.VarCompareValue
Delphi
function VarCompareValue(const A, B: Variant): TVariantRelationship;
C++
extern DELPHI_PACKAGE TVariantRelationship __fastcall VarCompareValue(const System::Variant &A, const System::Variant &B);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Variants.pas System.Variants.hpp |
System.Variants | System.Variants |
Description
Returns the relationship between Variants.
Call VarCompareValue to determine the relationship between two Variants.
A and B are the values to compare.
VarCompareValue returns a value that indicates whether A and B are equal (vrEqual), whether one is greater than the other (vrLessThan or vrGreaterThan), or whether the two values can't be ordered relative to each other (vrNotEqual).