ZennoLab Assemblies Documentation
InnerHtml Property
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : InnerHtml Property
Gets the html text inside the tag of the element.
Syntax
public string InnerHtml {get;}

Property Value

Type: System.String

The html text inside the tag of the element.

Example
The following code example uses the InnerHtml property.
// find element
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get inner html
string innerHtml = he.InnerHtml;
// find element
$he = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get inner html
$innerHtml = $he->InnerHtml;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

HtmlElement Class
HtmlElement Members
FullTagName Property
Id Property
OuterHtml Property
TagName Property
GetAttribute Method