RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::+= Operator

Adds the System::Variant::Variant specified by rhs to this System::Variant::Variant object.

Pascal
operator +=(const rhs: Variant&);
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!