XmlNode.PreviousSibling Property

 

Gets the node immediately preceding this node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

abstract PreviousSibling : XmlNode with get
override PreviousSibling : XmlNode with get

Property Value

Type: System.Xml.XmlNode

The preceding XmlNode. If there is no preceding node, null is returned.

The following example displays all the books in the XML document.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show: