Udostępnij za pośrednictwem


CDHtmlDialog::GetElementText

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

BSTR GetElementText(
   LPCTSTR szElementId 
);

Parameters

  • szElementId
    The ID of an HTML element.

Return Value

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

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

CDHtmlDialog::GetElementHtml

CDHtmlDialog::GetElementProperty

Other Resources

CDHtmlDialog Members