Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CComBSTR::operator BSTR

 

Casts a CComBSTR object to a BSTR.


operator BSTR( ) const throw( );

Allows you to pass CComBSTR objects to functions that have [in] BSTR parameters.

Example

See the example for CComBSTR::m_str.

Requirements

Header: atlbase.h

Show: