IHTMLLIElement

IHTMLLIElement


This interface denotes one item of a list.

This element is a block element.

IHTMLLIElement Methods
put_type   get_type  
put_value   get_value  

IHTMLLIElement::put_type

HRESULT put_type( 
    BSTR v 
);

Changes the style of the list.

v
String specifying the style. Can be one of these values:
1 Use numbers. This is the default value.
a Use small letters.
A Use large letters.
i Use small roman numerals.
I Use large roman numerals.

See also get_type

IHTMLLIElement::get_type

HRESULT get_type(
    BSTR *p 
);

Retrieves the current style of the list.

p
Address of a variable that receives one of these style values:
1 Use numbers. This is the default value.
a Use small letters.
A Use large letters.
i Use small roman numerals.
I Use large roman numerals.

See also put_type

IHTMLLIElement::put_value

HRESULT put_value(
    long v 
);

Sets the value of a list item. In an ordered list, the value is the number that precedes the list item. This property has no visual effect on an unordered list item.

v
Value specifying the item number.

See also get_value

IHTMLLIElement::get_value

HRESULT get_value(
    long *p 
);

Retrieves the value of a list item. In an ordered list, the value is the number that precedes the list item. This property has no visual effect on an unordered list item.

p
Address of a variable that receives the value of the item.

See also put_value

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.