Binding.SetXmlNamespaceManager Method (DependencyObject, XmlNamespaceManager)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: