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.
- Returns S_OK if successful, or an error value otherwise.
- 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
IHTMLElement::put_outerText
HRESULT put_outerText( BSTR v );Sets the outerText property of the current element object.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.