ZennoLab Assemblies Documentation
AppendChild Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > HtmlElement Class : AppendChild Method
child

Type: Zennolab.CommandCenter.HtmlElement

The element to append.

Glossary Item Box

Appends a child element.

Syntax

C# 
public void AppendChild( 
   HtmlElement child
)

Parameters

child

Type: Zennolab.CommandCenter.HtmlElement

The element to append.

Example

The following code example demonstrates uses of the AppendChild method
C#Copy Code
HtmlElement he1 = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
HtmlElement he2 = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByName("rad");
            
he1.AppendChild(he2);
PHPCopy Code
$he1 = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
            
$he2 = $instance->GetTabByAddress("page")->GetDocumentByAddress("0")->FindElementByName("rad");
            
$he1->AppendChild($he2);

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.