CComBSTR::Attach

This method attaches a BSTR to the CComBSTR object by setting the m_str member to src.

Syntax

void Attach( BSTR src );

At a Glance

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

See Also

CComBSTR Overview, CComBSTR Methods, CComBSTR::Detach, CComBSTR::operator =