RAD Studio VCL Reference
Variant::|= Operator

Returns this System::Variant::Variant after performing a bitwise or operation.

operator |=(const rhs: Variant&);
__fastcall Variant& operator |=(const Variant& rhs);

The actual types of the System::Variant::Variants determine the meaning of this operation. If the System::Variant::Variants can be converted to types that make sense for the given operation, the assignment is performed. If any of these operations is not possible because of an invalid variant type conversion, an ESystem::Variant::VariantError exception is thrown. 


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