Export (0) Print
Expand All

text property

[This documentation is preliminary and is subject to change.]

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

Syntax

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

Property values

Type: BSTR

the text.

Standards information

Remarks

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.

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2015 Microsoft