_variant_t::operator =

Microsoft Specific

_variant_t& operator=( const VARIANT& varSrc ) throw( _com_error );

_variant_t& operator=( const VARIANT* pVarSrc ) throw( _com_error );

_variant_t& operator=( const _variant_t& var_t_Src ) throw( _com_error );

_variant_t& operator=( short sSrc ) throw( _com_error );

_variant_t& operator=( long lSrc ) throw( _com_error );

_variant_t& operator=( float fltSrc ) throw( _com_error );

_variant_t& operator=( double dblSrc ) throw( _com_error );

_variant_t& operator=( const CY& cySrc ) throw( _com_error );

_variant_t& operator=( const _bstr_t& bstrSrc ) throw( _com_error );

_variant_t& operator=( const wchar_t* wstrSrc ) throw( _com_error );

_variant_t& operator=( const char* strSrc ) throw( _com_error );

_variant_t& operator=( IDispatch* pDispSrc ) throw( _com_error );

_variant_t& operator=( bool bSrc ) throw( _com_error );

_variant_t& operator=( IUnknown* pSrc ) throw( _com_error );

_variant_t& operator=( const DECIMAL& decSrc ) throw( _com_error );

_variant_t& operator=( BYTE bSrc ) throw( _com_error );

Remarks

The operator assigns a new value to the _variant_t object:

_variant_t Overview

END Microsoft Specific