Retrieves the value of the list-style-image attribute for the element.
Syntax
HRESULT get_listStyleImage( BSTR *p );
Parameters
- p
- Address of a variable that receives the value of the attribute, which can be either "none" or the URL of an image used as the list-item marker. The variable receives NULL if the attribute is not set. For details, see the list-style-image attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the value of the list-style-image attribute for the element. The attribute sets the image to use as the list-item marker. When the image is available, it replaces the marker.
Syntax
HRESULT put_listStyleImage( BSTR v );
Parameters
- v
- String that specifies the value of the attribute. It can be either "none" or the URL of an image. Set this parameter to NULL to remove the attribute. For details, see the list-style-image attribute.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The list-style-image attribute is applicable only on elements that have the display attribute set to "list-item".
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0