Zennolab.CommandCenter
NextSibling Property
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > HtmlElement Class : NextSibling Property
Gets the next element.

Syntax

C# 
public HtmlElement NextSibling {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElement

The next element.

Example

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

Remarks

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

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.