Contents Index Topic Contents | ||
Previous Topic: IHTMLOptionElement::put_text Next Topic: IHTMLOptionElement::get_form |
IHTMLOptionElement::get_text
HRESULT get_text( BSTR *p );Retrieves the text string specified by the OPTION tag.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the string.
Assigning a value to the text property changes the text property internally but does not cause the listed value to change. Submitting the form submits the internally stored value, not the one displayed.
See also put_text
IHTMLOptionElement::put_text
HRESULT put_text( BSTR v );Sets the text string specified by the OPTION tag.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the text.
Assigning a value to the text property changes the text property internally but does not cause the listed value to change. Submitting the form submits the internally stored value, not the one displayed.
See also get_text
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.