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.
- Returns S_OK if successful, or an error value otherwise.
- 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
IHTMLOptionElement::put_index
HRESULT put_index( LONG v );Sets the ordinal position of the option in the list box.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.