Binding.SetXmlNamespaceManager(DependencyObject, XmlNamespaceManager) Method

Definition

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

public:
 static void SetXmlNamespaceManager(System::Windows::DependencyObject ^ target, System::Xml::XmlNamespaceManager ^ value);
public static void SetXmlNamespaceManager (System.Windows.DependencyObject target, System.Xml.XmlNamespaceManager value);
static member SetXmlNamespaceManager : System.Windows.DependencyObject * System.Xml.XmlNamespaceManager -> unit
Public Shared Sub SetXmlNamespaceManager (target As DependencyObject, value As XmlNamespaceManager)

Parameters

target
DependencyObject

The object from which to get namespace information.

value
XmlNamespaceManager

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

Exceptions

target is null.

Remarks

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

Applies to