This operator assigns a value to the CComVariant object.
CComVariant& operator =(const CComVAriant& varSrc);
CComVariant& operator =(const VARIANT& varSrc);
CComVariant& operator =(LPCOLESTR lpsz);
CComVariant& operator =( LPCSTR lpsz );
CComVariant& operator =( BSTR bstrSrc );
CComVariant& operator =( bool bSrc );
CComVariant& operator =( int nSrc );
CComVariant& operator =( BYTE nSrc );
CComVariant& operator =( short nSrc );
CComVariant& operator =( long nSrc );
CComVariant& operator =( float nSrc );
CComVariant& operator =( double nSrc );
CComVariant& operator =( CY cySrc );
CComVariant& operator =( IDispatch* pSrc );
CComVariant& operator =( IUnknown* pSrc );
Header file: | atlbase.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComVariant Overview, CComVariant Operators, CComVariant::Copy, VARIANT