System.Xml.XmlNode.NextSibling Property

Gets the node immediately following this node.

Syntax

public virtual XmlNode NextSibling { get; }

Value

The next node that follows this one, or null if this is the last node in its parent's children.

Remarks

The node after this one in the XmlNode.ParentNode's XmlNode.ChildNodes collection.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0