Edit

Share via


XmlAttributeProperties.SetXmlnsDictionary Method

Definition

Sets the value of the XmlnsDictionary attached property of the specified DependencyObject.

public:
 static void SetXmlnsDictionary(System::Windows::DependencyObject ^ dependencyObject, System::Windows::Markup::XmlnsDictionary ^ value);
public static void SetXmlnsDictionary (System.Windows.DependencyObject dependencyObject, System.Windows.Markup.XmlnsDictionary value);
static member SetXmlnsDictionary : System.Windows.DependencyObject * System.Windows.Markup.XmlnsDictionary -> unit
Public Shared Sub SetXmlnsDictionary (dependencyObject As DependencyObject, value As XmlnsDictionary)

Parameters

dependencyObject
DependencyObject

The object on which to set the XmlnsDictionary attached property.

value
XmlnsDictionary

The xmlns dictionary in string form.

Exceptions

dependencyObject is null.

Applies to