Gets the dom text of the html element.
Syntax
| C# | |
|---|
public string OuterHtml {get;} |
Property Value
Type: System.String
The dom text of the html element.
Example
The following code example uses the
OuterHtml property.
| C# | Copy Code |
|---|
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get outer html
string domText = he.OuterHtml; |
| PHP | Copy Code |
|---|
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get outer html
$domText = $he->OuterHtml; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also