ZennoLab Assemblies Documentation
ParentDocument Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : ParentDocument Property

Glossary Item Box

Gets the parent document.

Syntax

C# 
public Document ParentDocument {get;}

Property Value

Type: Zennolab.CommandCenter.Document

The parent document.

Example

The following code example uses the ParentDocument property.
C#Copy Code
HtmlElement he = tab.MainDocument.FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
Document parentDocument = he.ParentDocument;
PHPCopy Code
$he = $tab->MainDocument.FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
$parentDocument = $he->ParentDocument;

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.