System.OleVariant.operator =

From RAD Studio API Documentation
Jump to: navigation, search

C++

OleVariant& __fastcall operator =(const OleVariant& rhs)
OleVariant& __fastcall operator =(const Variant& rhs)
OleVariant& __fastcall operator =(VARIANT& rhs)
OleVariant& __fastcall operator =(const AnsiString& rhs)
OleVariant& __fastcall operator =(const char* rhs)
OleVariant& __fastcall operator=(const WideString& rhs)
OleVariant& __fastcall operator=(const UnicodeString& rhs)
OleVariant& __fastcall operator =(const bool rhs)
OleVariant& __fastcall operator =(const char rhs)
OleVariant& __fastcall operator =(const signed char rhs)
OleVariant& __fastcall operator =(const unsigned char rhs)
OleVariant& __fastcall operator =(const short rhs)
OleVariant& __fastcall operator =(const unsigned short rhs)
OleVariant& __fastcall operator =(const int rhs)
OleVariant& __fastcall operator =(const unsigned int rhs)
OleVariant& __fastcall operator =(const long rhs)
OleVariant& __fastcall operator =(const unsigned long rhs)
OleVariant& __fastcall operator =(const float rhs)
OleVariant& __fastcall operator =(const double rhs)
OleVariant& __fastcall operator =(const __int64 rhs)
OleVariant& __fastcall operator =(const unsigned __int64 rhs)
OleVariant& __fastcall operator =(const CURRENCY& rhs)
OleVariant& __fastcall operator =(const TDateTime& rhs)
OleVariant& __fastcall operator =(const Currency& rhs)
OleVariant& __fastcall operator =(double* rhs)
OleVariant& __fastcall operator =(__int64* rhs)
OleVariant& __fastcall operator =(unsigned __int64* rhs)
OleVariant& __fastcall operator =(TDateTime* rhs)
OleVariant& __fastcall operator =(Currency* rhs)
OleVariant& __fastcall operator =(IDispatch* rhs)
OleVariant& __fastcall operator=(IUnknown* rhs)
OleVariant& __fastcall operator =(CURRENCY* src)
OleVariant& __fastcall operator =(SAFEARRAY** src)
OleVariant& __fastcall operator =(VARIANT* src)

Properties

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

Description

Copies the Variant specified by rhs into this Variant.

System.OleVariant.operator = inherits from System.Variant.operator =. All content below this line refers to System.Variant.operator =.

Copies the Variant specified by rhs into this Variant.

The actual types of the Variants determine the meaning of this operation. If the 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 EVariantError exception is thrown.