IHTMLElement::get_outerTextIHTMLElement::get_outerText*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLElement::put_outerText
*Next Topic: IHTMLElement::insertAdjacentHTML

IHTMLElement::get_outerText


HRESULT get_outerText(
    BSTR *p
);

Retrieves the outerText property of the current element object.

p
Address of a string variable that receives the text of the current element object. It can be any valid string.

You cannot set this property while the document is loading. Wait for the onload event before attempting to set it.

See also put_outerText

Up Top of Page


IHTMLElement::put_outerText


HRESULT put_outerText(
    BSTR v
);

Sets the outerText property of the current element object.

v
String specifying the new text for the current element object. It can be any valid string.

You cannot set this property while the document is loading. Wait for the onload event before attempting to set it.

See also get_outerText


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