CComBSTR::operator =

This operator sets the m_str member to a copy of pSrc or to a copy of the BSTR member of src.

Syntax

CComBSTR& operator =( LPCOLESTR pSrc );

CComBSTR& operator =( LPCSTR pSrc );

CComBSTR& operator =( const CComBSTR& src );

At a Glance

Header file: Atlbase.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComBSTR Overview, CComBSTR Operators, CComBSTR::Copy