Retrieves the value of the listStyle property for the object.
Syntax
HRESULT get_listStyle( BSTR *p );
Parameters
- p
- Address of a variable that receives the value of the property. For details, see the listStyle property. The variable receives NULL if the property is not set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The listStyle property is applicable only on objects that have the display property 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 listStyle property for the object. The property determines how a list-item marker is drawn.
Syntax
HRESULT put_listStyle( BSTR v );
Parameters
- v
- String that specifies the values of the property. For details, see the listStyle property. Set this parameter to NULL to remove the property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The listStyle property is applicable only on objects that have the display property set to "list-item".
This method combines the functionality of the get_listStyleType, get_listStyleImage, and get_listStylePosition methods.
If no type or position is specified, the default type is "disk" and the default position is "outside".
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0