Binding.SetXmlNamespaceManager Method (DependencyObject, XmlNamespaceManager)

 

Sets a namespace manager object used by the binding attached to the provided element.

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

public static void SetXmlNamespaceManager(
	DependencyObject target,
	XmlNamespaceManager value
)

Parameters

target
Type: System.Windows.DependencyObject

The object from which to get namespace information.

value
Type: System.Xml.XmlNamespaceManager

The System.Xml.XmlNamespaceManager to use for namespace evaluation in the passed element.

Exception Condition
ArgumentNullException

target is null.

This method supports attached property usage for the XmlNamespaceManager attached property.

.NET Framework
Available since 3.0
Return to top
Show: