XmlAttributeProperties.SetXmlnsDictionary 方法

定义

设置指定的 XmlnsDictionaryDependencyObject 附加属性的值。

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

适用于