CComBSTR::Empty

void Empty( );

Remarks

Frees the m_str member.

Example

// example for CComBSTR::Empty
CComBSTR bstr( "abc" );

//calls SysFreeString to free the BSTR
bstr.Empty();
_ASSERTE( bstr.Length( ) == 0 );

CComBSTR OverviewClass Members