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
Este explorador ya no se admite.
Actualice a Microsoft Edge para aprovechar las características y actualizaciones de seguridad más recientes, y disponer de soporte técnico.
Libera el miembro de m_str .
void Empty( ) throw( );
CComBSTR bstr(OLESTR("abc"));
// Calls SysFreeString to free the BSTR
bstr.Empty();
ATLASSERT(bstr.Length() == 0);
encabezado: atlbase.h