CComBSTR::Empty

Libera el miembro de m_str .

void Empty( ) throw( );

Ejemplo

CComBSTR bstr(OLESTR("abc"));

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

Requisitos

encabezado: atlbase.h

Vea también

Referencia

CComBSTR (clase)