IHTMLOptionElement::get_indexIHTMLOptionElement::get_index*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLOptionElement::put_index
*Next Topic: IHTMLOptionElement::put_text

IHTMLOptionElement::get_index


HRESULT get_index(
    LONG *p 
);

Retrieves the ordinal position of the option in the list box.

p
Address of a variable that receives the ordinal position.

You can assign a value to this property without generating a syntax error, but the value is not stored.

See also put_index

Up Top of Page


IHTMLOptionElement::put_index


HRESULT put_index(
    LONG v 
);

Sets the ordinal position of the option in the list box.

v
Value specifying the ordinal position.

You can assign a value to this property without generating a syntax error, but the value is not stored.

See also get_index


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.