System.Variant.operator +

From RAD Studio API Documentation
Jump to: navigation, search


Variant __fastcall operator +(const Variant& rhs) const;
Variant __fastcall operator +(int rhs) const
Variant __fastcall operator +(double rhs) const


Type Visibility Source Unit Parent
function public sysvari.h System Variant


Adds a specified value to the Variant.

The operator + returns a new Variant that is the sum of this Variant and rhs.

If the operation is not possible because of an invalid variant type conversion, an EVariantError exception is thrown.

See Also