System.Variant.operator *
C++
Variant operator *(const Variant& rhs) const;
Variant operator *(const AnsiString& rhs) const
Variant operator *(int rhs) const
Variant operator *(double rhs) const
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysvari.h | System | Variant |
Description
Multiplies the value of the Variant by a specified value.
The operator * returns a new Variant that is the result of multiplying this Variant with rhs.
If the operation is not possible because of an invalid variant type conversion, an EVariantError exception is thrown.
Note: Do not call the multiply operator directly. It is an overload of the compiler multiplier operator.