CComBSTR::operator =

CComBSTR& operator =( LPCOLESTR pSrc );

CComBSTR& operator =( LPCSTR pSrc );

CComBSTR& operator =( const CComBSTR& src );

Remarks

Sets the m_str member to a copy of pSrc or to a copy of the BSTR member of src. The pSrc parameter specifies either an LPCOLESTR for Unicode versions or LPCSTR for ANSI versions.

Example

See the example for CComBSTR::Copy.

CComBSTR OverviewClass Members

See Also   CComBSTR::Copy