Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

text property

Sets or retrieves the text string specified by the option tag.


HRESULT value = object.put_text( v);HRESULT value = object.get_text(* p);

Property values

Type: BSTR

the text.

Standards information


Assigning a value to the IHTMLOptionElement::text property changes the IHTMLOptionElement::text property internally, but does not cause the listed value to change. Submitting the form submits the internally stored value, not the one displayed.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.