RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::& Operator (AnsiString&)

Performs a bitwise and operation with a specified value.

Pascal
operator &(const rhs: Variant&);
operator &(const rhs: AnsiString&);
operator &(rhs: Integer);
operator &(rhs: double);
C++
__fastcall Variant operator &(const Variant& rhs) const;
__fastcall Variant operator &(const AnsiString& rhs) const;
__fastcall Variant operator &(int rhs) const;
__fastcall Variant operator &(double rhs) const;

The System::Variant::& returns a new System::Variant::Variant that is the result of a bitwise and operation on this System::Variant::Variant using rhs as the rvalue. 

If the operation 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!