Zennolab.CommandCenter
FirstChild Property
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElement Class : FirstChild Property
Returns the first child element.

Syntax

C# 
public HtmlElement FirstChild {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The first child element.

Example

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

Requirements

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

See Also

© 2011 All Rights Reserved.