Retrieves the value of the display attribute for the element.
Syntax
HRESULT get_display( BSTR *p );
Parameters
- p
- Address of a variable that receives the value of the attribute. The variable receives "none" if the element is not being rendered, or NULL if it is. For details, see the display attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the value of the display attribute for the element. The attribute determines whether the element is rendered.
Syntax
HRESULT put_display( BSTR v );
Parameters
- v
- String that specifies whether to render the element. If this parameter is "none", the element is not rendered; if it is NULL, it is rendered. For details, see the display attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Although you can apply the display attribute to parts of a table (such as a TR or TD element), changing the property has no effect on those parts. However, you can dynamically control the rendering of the entire table by applying the attribute to the TABLE element.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0