Freigeben über


CComBSTR::Empty

Frees the m_str member.

void Empty( ) throw( );

Example

CComBSTR bstr(OLESTR("abc"));

// Calls SysFreeString to free the BSTR
bstr.Empty();
ATLASSERT(bstr.Length() == 0);   

Requirements

Header: atlcomcli.h

See Also

Concepts

CComBSTR Class

CComBSTR Members