Share via


XmlnsDefinitionAttribute(String, String) 建構函式

定義

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

public:
 XmlnsDefinitionAttribute(System::String ^ xmlNamespace, System::String ^ clrNamespace);
public XmlnsDefinitionAttribute (string xmlNamespace, string clrNamespace);
new System.Windows.Markup.XmlnsDefinitionAttribute : string * string -> System.Windows.Markup.XmlnsDefinitionAttribute
Public Sub New (xmlNamespace As String, clrNamespace As String)

參數

xmlNamespace
String

XAML 命名空間識別項。

clrNamespace
String

參考 CLR 命名空間名稱的字串。

例外狀況

xmlNamespaceclrNamespacenull

適用於