CComBSTR::operator =
Sets the m_str member to a copy of pSrc or to a copy of the BSTR member of src.
CComBSTR& operator =(
const CComBSTR& src
);
CComBSTR& operator =(
LPCOLESTR pSrc
);
CComBSTR& operator =(
LPCSTR pSrc
);
The pSrc parameter specifies either an LPCOLESTR for Unicode versions or LPCSTR for ANSI versions.
See the example for CComBSTR::Copy.
Header: atlcomcli.h