Gets or sets an XPath query that returns the value on the XML to use.GTMT
Assembly: PresentationFramework (in PresentationFramework.dll)
By setting the System.Xml.XmlElement and System.Xml.XmlAttribute both derive from System.Xml.XmlNode). System.Xml.XmlNode is a common language runtime (CLR) object, which means you can bind to its properties using the Path property.property, you are creating an XPath query to select a node or a collection of nodes (
The XmlNode.SelectNodes method handles the XPath expressions from the property. XPath functions are not supported. For XPath expression information, see the SelectNodes documentation and some examples provided in the Example section.
LINQ to XML objects XDocument and XElement do not use XPath. For details, see How to: Bind to XDocument, XElement, or LINQ for XML Query Results.
Available since 3.0