語言

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。

適用於