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

Glossary Item Box

Gets the next element.

Syntax

C# 
public HtmlElement NextSibling {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The next element.

Remarks

If the next element to a higher level, then return null.

Example

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

Requirements

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

See Also

© 2014 All Rights Reserved.