IHTMLOptionElement::get_textIHTMLOptionElement::get_text*
*



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.

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

Up Top of Page


IHTMLOptionElement::put_text


HRESULT put_text(
    BSTR v 
);

Sets the text string specified by the OPTION tag.

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


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