ZennoLab Assemblies Documentation
FirstChild Property (Document)
Example 
ZennoLab.CommandCenter Namespace > Document Class : FirstChild Property
Gets the first child element of the document.
Syntax
public HtmlElement FirstChild {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The first child element.

Example
The following code example uses the FirstChild property.
// get document
Document doc = tab.MainDocument;
 
// get first child
HtmlElement he = doc.FirstChild;
// get document
$doc = $tab->MainDocument;
 
// get first child
$he = $doc->FirstChild;
Requirements

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

See Also

Reference

Document Class
Document Members
HtmlElement Class