RAD Studio VCL Reference
|
Compares the System::Variant::Variant with another value, testing for equality.
operator ==(const rhs: Variant&); operator ==(const rhs: char*); operator ==(rhs: Integer); operator ==(const rhs: AnsiString&); operator ==(rhs: double); operator ==(rhs: TDateTime);
__fastcall bool operator ==(const Variant& rhs) const; __fastcall bool operator ==(const char* rhs) const; __fastcall bool operator ==(int rhs) const; __fastcall bool operator ==(const AnsiString& 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 the same as 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!
|