XmlNamespaceManager Property

XmlDataProvider.XmlNamespaceManager Property


Gets or sets the XmlNamespaceManager used to run XPath queries.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public XmlNamespaceManager XmlNamespaceManager { get; set; }

Property Value

Type: System.Xml.XmlNamespaceManager

The XmlNamespaceManager used to run XPath queries. The default value is null.

Setting the following properties will implicitly cause this XmlDataProvider object to refresh: Source, Document, XmlNamespaceManager, and XPath. When changing multiple refresh-causing properties, the use of DeferRefresh is recommended.

<object XmlNamespaceManager="mappingCollection"/>

The following example demonstrates how to use this property.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft