_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:
-
operator=( varSrc ) Assigns an existing VARIANT to a _variant_t object.
-
operator=( pVarSrc ) Assigns an existing VARIANT to a _variant_t object.
-
operator=( var_t_Src ) Assigns an existing _variant_t object to a _variant_t object.
-
operator=( sSrc ) Assigns a short integer value to a _variant_t object.
-
operator=( lSrc ) Assigns a long integer value to a _variant_t object.
-
operator=( fltSrc ) Assigns a float numerical value to a _variant_t object.
-
operator=( dblSrc ) Assigns a double numerical value to a _variant_t object.
-
operator=( cySrc ) Assigns a CY object to a _variant_t object.
-
operator=( bstrSrc ) Assigns a BSTR object to a _variant_t object.
-
operator=( wstrSrc ) Assigns a Unicode string to a _variant_t object.
-
operator=( strSrc ) Assigns a multibyte string to a _variant_t object.
-
operator=( bSrc ) Assigns a bool value to a _variant_t object.
-
operator=( pDispSrc ) Assigns a VT_DISPATCH object to a _variant_t object.
-
operator=( pIUnknownSrc ) Assigns a VT_UNKNOWN object to a _variant_t object.
-
operator=( decSrc ) Assigns a DECIMAL value to a _variant_t object.
-
operator=( bSrc ) Assigns a BYTE value to a _variant_t object.
_variant_t Overview
END Microsoft Specific