CComBSTR::Detach

This method detaches m_str from the CComBSTR object and sets m_str to NULL.

Syntax

BSTR Detach( );

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::Attach