Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  OuterText(string)
element class : OuterText(string) setter

Description

Sets the text.

Syntax

elementInstance.OuterText = anyText

Arguments

ClassNameDescription
stringanyTextThe text.

Return value

None

Sample code

//anyElement is an any instance of element type.

anyElement.outerText = "This is a span element.";//This text will be displayed as string because automatically be HTML escaped.

Notes

It's a wrapper of the MSHTML.IHTMLElement.outerText.

The text will automatically be HTML escaped.

Links for reference

Copyright © Rice All rights reserved.