Partager via


CDHtmlDialog::GetElementProperty

Retrieves the value of the property identified by dispid from the HTML element identified by szElementId.

VARIANT GetElementProperty( 
   LPCTSTR szElementId, 
   DISPID dispid  
);

Parameters

  • szElementId
    The ID of an HTML element.

  • dispid
    The dispatch ID of a property.

Return Value

The value of the property or an empty variant if the property or element could not be found.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Hierarchy Chart

CDHtmlDialog::GetElementHtml

CDHtmlDialog::GetElementText