XmlAttributeProperties.SetXmlNamespaceMaps 方法

定义

重载

SetXmlNamespaceMaps(DependencyObject, Hashtable)
SetXmlNamespaceMaps(DependencyObject, String)

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

SetXmlNamespaceMaps(DependencyObject, Hashtable)

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

参数

dependencyObject
DependencyObject
value
Hashtable

适用于

SetXmlNamespaceMaps(DependencyObject, String)

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

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

参数

dependencyObject
DependencyObject

要对其设置 XmlNamespaceMaps 附加属性的对象。

value
String

要设置的字符串值。

例外

dependencyObjectnull

适用于