Share via


XmlnsCompatibleWithAttribute(String, String) 建構函式

定義

初始化 XmlnsCompatibleWithAttribute 類別的新執行個體。

public:
 XmlnsCompatibleWithAttribute(System::String ^ oldNamespace, System::String ^ newNamespace);
public XmlnsCompatibleWithAttribute (string oldNamespace, string newNamespace);
new System.Windows.Markup.XmlnsCompatibleWithAttribute : string * string -> System.Windows.Markup.XmlnsCompatibleWithAttribute
Public Sub New (oldNamespace As String, newNamespace As String)

參數

oldNamespace
String

參考 XAML 命名空間識別項。

newNamespace
String

歸類 XAML 命名空間識別項。

例外狀況

oldNamespacenewNamespacenull

適用於