Condividi tramite


CDHtmlDialog::SetElementHtml

Sets the innerHTML property of an HTML element.

void SetElementHtml(
   LPCTSTR szElementId,
   BSTR bstrText 
);
void SetElementHtml(
   IUnknown *punkElem,
   BSTR bstrText 
);

Parameters

  • szElementId
    The ID of an HTML element.

  • bstrText
    The new value of the innerHTML property.

  • punkElem
    The IUnknown pointer of an HTML element.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

CDHtmlDialog::SetElementText

CDHtmlDialog::SetElementProperty