_bstr_t::operator =

Microsoft Specific

_bstr_t& operator=( const _bstr_t& s1 ) throw ( );

_bstr_t& operator=( const char* s2 ) throw( _com_error );

_bstr_t& operator=( const wchar_t* s3 ) throw( _com_error );

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

Parameters

s1

a _bstr_t object to be assigned to an existing _bstr_t object

s2

a multibyte string to be assigned to an existing _bstr_t object

s3

a Unicode string to be assigned to an existing _bstr_t object

var

a _variant_t object to be assigned to an existing _bstr_t object

Remarks

Assigns a new value to an existing _bstr_t object.

_bstr_t Overview

END Microsoft Specific