COleVariant::operator =

Use these overloaded assignment operators to copy the source value into this COleVariant object.

Syntax

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 );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleVariant Overview, COleVariant Operators, Automation Types, COleVariant::COleVariant, COleVariant::operator LPCVARIANT, COleVariant::operator LPVARIANT, VARIANT, CByteArray, CLongBinary, COleCurrency, COleDateTime