Edit

Share via


XmlnsPrefixAttribute(String, String) Constructor

Definition

Initializes a new instance of the XmlnsPrefixAttribute class.

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

Parameters

xmlNamespace
String

The XAML namespace identifier.

prefix
String

The recommended prefix string.

Exceptions

xmlNamespace or prefix is null.

Applies to