XmlNode.PreviousText Property

.NET Framework (current version)
 

Gets the text node that immediately precedes this node.

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

public virtual XmlNode PreviousText { get; }

Property Value

Type: System.Xml.XmlNode

Returns XmlNode.

This property has faster performance than the PreviousSibling property but you can use it only to get a node of type Text. To get any other type of node that that precedes this node, use the PreviousSibling property.

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