共用方式為


CDHtmlDialog::GetElementHtml

Retrieves the innerHTML property of the HTML element identified by szElementId.

BSTR GetElementHtml(
   LPCTSTR szElementId 
);

Parameters

  • szElementId
    The ID of an HTML element.

Return Value

The innerHTML property of the HTML element identified by szElementId or NULL if the element could not be found.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

CDHtmlDialog::GetElementText

CDHtmlDialog::GetElementProperty