XmlNamespaceMapping Constructors

Definition

Initializes a new instance of the XmlNamespaceMapping class.

Overloads

XmlNamespaceMapping()

Initializes a new instance of the XmlNamespaceMapping class.

XmlNamespaceMapping(String, Uri)

Initializes a new instance of the XmlNamespaceMapping class with the specified prefix and uniform resource identifier (URI).

XmlNamespaceMapping()

Initializes a new instance of the XmlNamespaceMapping class.

C#
public XmlNamespaceMapping();

Applies to

.NET Framework 4.8.1 och andra versioner
Produkt Versioner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

XmlNamespaceMapping(String, Uri)

Initializes a new instance of the XmlNamespaceMapping class with the specified prefix and uniform resource identifier (URI).

C#
public XmlNamespaceMapping(string prefix, Uri uri);

Parameters

prefix
String

The prefix to use in Extensible Application Markup Language (XAML).

uri
Uri

The Uri of the namespace to create the mapping for.

Applies to

.NET Framework 4.8.1 och andra versioner
Produkt Versioner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10