Share via

XmlNode.PreviousText Property


Gets the text node that immediately precedes this node.

 virtual property System::Xml::XmlNode ^ PreviousText { System::Xml::XmlNode ^ get(); };
public virtual System.Xml.XmlNode PreviousText { get; }
public virtual System.Xml.XmlNode? PreviousText { get; }
member this.PreviousText : System.Xml.XmlNode
Public Overridable ReadOnly Property PreviousText As XmlNode

Property Value

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 precedes this node, use the PreviousSibling property.

Applies to