XPathNavigator::ToString Method ()
.NET Framework (current version)
Gets the text value of the current node.
Assembly: System.Xml (in System.Xml.dll)
The content returned by the ToString method depends on the XPathNodeType of the node.
XPathNodeType | Property Value |
|---|---|
The InnerText of the root node. | |
The InnerText of the element. | |
The value of the attribute. | |
The content of the text node. | |
The entire content excluding the target. | |
The content of the comment. | |
The white space between mark-up. | |
The white space between markup in a mixed content model, or white space within an xml:space='preserve' scope. |
.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Available since 1.1
Silverlight
Available since 4.0
Show: