This operator assigns a value to the CComVariant object.
At a Glance
Header file: | Atlbase.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
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 );
See Also