XmlAttributeProperties.GetXmlnsDictionary(DependencyObject) Method

Definition

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

public:
 static System::Windows::Markup::XmlnsDictionary ^ GetXmlnsDictionary(System::Windows::DependencyObject ^ dependencyObject);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Markup.XmlnsDictionary GetXmlnsDictionary (System.Windows.DependencyObject dependencyObject);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetXmlnsDictionary : System.Windows.DependencyObject -> System.Windows.Markup.XmlnsDictionary
Public Shared Function GetXmlnsDictionary (dependencyObject As DependencyObject) As XmlnsDictionary

Parameters

dependencyObject
DependencyObject

The object to obtain the XmlnsDictionary attached property value from.

Returns

The value of the XmlnsDictionary attached property for the specified object.

Attributes

Exceptions

dependencyObject is null.

Applies to