共用方式為


XmlAttributeProperties.SetXmlnsDictionary 方法

定義

設定所指定 DependencyObjectXmlnsDictionary 附加屬性值。

public:
 static void SetXmlnsDictionary(System::Windows::DependencyObject ^ dependencyObject, System::Windows::Markup::XmlnsDictionary ^ value);
public static void SetXmlnsDictionary (System.Windows.DependencyObject dependencyObject, System.Windows.Markup.XmlnsDictionary value);
static member SetXmlnsDictionary : System.Windows.DependencyObject * System.Windows.Markup.XmlnsDictionary -> unit
Public Shared Sub SetXmlnsDictionary (dependencyObject As DependencyObject, value As XmlnsDictionary)

參數

dependencyObject
DependencyObject

要設定 XmlnsDictionary 附加屬性的物件。

value
XmlnsDictionary

格式為字串的 xmlns 字典。

例外狀況

dependencyObjectnull

適用於