COleVariant::operator =

const COleVariant& operator =( const VARIANT& varSrc );

const COleVariant& operator =( LPCVARIANT pSrc );

const COleVariant& operator =( const COleVariant& varSrc );

const COleVariant& operator =( const LPCTSTR lpszSrc );

const COleVariant& operator =( const CString& strSrc );

const COleVariant& operator =( const BYTE nSrc );

const COleVariant& operator =( const short nSrc );

const COleVariant& operator =( const long lSrc );

const COleVariant& operator =( const COleCurrency& curSrc );

const COleVariant& operator =( const float fltSrc );

const COleVariant& operator =( const double dblSrc );

const COleVariant& operator =( const COleDateTime& dateSrc );

const COleVariant& operator =( const CByteArray& arrSrc );

const COleVariant& operator =( const CLongBinary& lbSrc );

Remarks

These overloaded assignment operators copy the source value into this COleVariant object. A brief description of each operator follows:

For more information, see the VARIANT and VARTYPE entries in the Win32 SDK OLE Programmer’s Reference.

COleVariant OverviewClass MembersHierarchy Chart

See Also   COleVariant::COleVariant, COleCurrency, COleDateTime