共用方式為


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

適用於