共用方式為


XmlAttributeProperties.SetXmlNamespaceMaps 方法

定義

多載

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

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

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)

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

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

適用於