RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::< Operator (TDateTime)

Tests whether the System::Variant::Variant's value is less than a specified value.

Pascal
operator <(const rhs: Variant&);
operator <(const rhs: char*);
operator <(rhs: Integer);
operator <(rhs: double);
operator <(rhs: TDateTime);
C++
__fastcall bool operator <(const Variant& rhs) const;
__fastcall bool operator <(const char* rhs) const;
__fastcall bool operator <(int rhs) const;
__fastcall bool operator <(double rhs) const;
__fastcall bool operator <(TDateTime rhs) const;

The < System::Variant::< returns true if the System::Variant::Variant's value is less than the value specified by rhs, false otherwise. If the comparison is not possible because of an invalid variant type conversion, an EVariantError exception is thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!