Retrieves the value of the list-style attribute for the element.
Syntax
HRESULT get_listStyle( BSTR *p );
Parameters
- p
- Address of a variable that receives the value of the attribute. The variable receives NULL if the attribute is not set. For details, see the list-style attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The list-style attribute is applicable only on elements that have the display attribute set to "list-item".
This method combines the functionality of the get_listStyleType, get_listStyleImage, and get_listStylePosition methods.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the value of the list-style attribute for the element. The attribute determines how a list-item marker is drawn.
Syntax
HRESULT put_listStyle( BSTR v );
Parameters
- v
- String that specifies the values of the attribute. Set this parameter to NULL to remove the attribute. For details, see the list-style attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The list-style attribute is applicable only on elements that have the display attribute set to "list-item". This property can be set on any element and is inherited down the tree. In HTML, this is typically the case for the LI element.
This method combines the functionality of the put_listStyleType, put_listStyleImage, and put_listStylePosition methods.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0