Gets the parent element.
Syntax
Example
The following code example uses the
ParentElement property.
| C# | Copy Code |
|---|
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get parent element
HtmlElement parentElement = he.ParentElement; |
| PHP | Copy Code |
|---|
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
// get parent element
$parentElement = $he->ParentElement; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also