ZennoLab Assemblies Documentation
NextSibling Property
Example 
ZennoLab.CommandCenter Namespace > HtmlElement Class : NextSibling Property
Gets the next element.
Syntax
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.
// find element
HtmlElement he = tab.GetDocumentByAddress("0").FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get next element
HtmlElement next = he.NextSibling;
// find element
$he = $tab->GetDocumentByAddress("0")->FindElementByAttribute("input:checkbox", "fulltag", "input:checkbox", "text", 0);
 
// get next element
$next = $he->NextSibling;
Requirements

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

See Also

Reference

HtmlElement Class
HtmlElement Members
GetChildren Method
FirstChild Property
LastChild Property
PreviousSibling Property