Gets the previous sibling node of this node.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
If this XNode does not have a parent, or if there is no previous node, this property returns null.
The XContainer stores its child nodes as a singly-linked list of XNode objects. This means that the property must traverse the list of direct child nodes under the parent container. Therefore, using this property might affect your performance.
Available since 8
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1