Condividi tramite


CDHtmlDialog::SetElementText

Sets the innerText property of an HTML element.

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

Parameters

  • szElementId
    The ID of an HTML element.

  • bstrText
    The new value of the innerText property.

  • punkElem
    The IUnknown pointer of an HTML element.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

CDHtmlDialog::SetElementHtml

CDHtmlDialog::SetElementProperty