语言

XmlAttributeProperties.GetXmlnsDictionary(DependencyObject) 方法

定义

获取指定XmlnsDictionary属性的附加属性的值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

参数

dependencyObject
DependencyObject

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

返回

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

特性

例外

dependencyObject 是 null。

适用于