System.Variant.operator <<

From RAD Studio API Documentation
Jump to: navigation, search

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

Returns a new Variant that is the result of a shl (left shift) operation on this Variant.

The operator << returns a new Variant that is the result of a shl (left shift) operation, shifting by the number of bits specified by rhs.

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