CComVariant::operator =

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

Remarks

Assigns a value and corresponding type to the CComVariant object.

CComVariant OverviewClass Members

See Also   CComVariant::Copy, VARIANT