Partilhar via


CComBSTR::operator BSTR

Casts a CComBSTR object to a BSTR.

operator BSTR( ) const throw( );

Remarks

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

See Also

Reference

CComBSTR Class

Other Resources

CComBSTR Members