COleVariant::operator =

These overloaded assignment operators copy the source value into this COleVariant object.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

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

See Also

COleVariant::COleVariant, COleVariant::operator LPCVARIANT, COleVariant::operator LPVARIANT, VARIANT, CByteArray, CLongBinary, COleCurrency, COleDateTime