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 ESystem::Variant::VariantError exception is thrown. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!