XmlAttributeProperties.GetXmlnsDictionary(DependencyObject) 方法

定义

获取指定的 DependencyObjectXmlnsDictionary 附加属性的值。

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

参数

dependencyObject
DependencyObject

要从中获取 XmlnsDictionary 附加属性值的对象。

返回

指定对象的 XmlnsDictionary 附加属性的值。

属性

例外

dependencyObjectnull

适用于