Ler em inglês Editar

Partilhar via


XmlNamespaceMapping Class

Definition

Declares a mapping between a uniform resource identifier (URI) and a prefix.

public class XmlNamespaceMapping : System.ComponentModel.ISupportInitialize
Inheritance
XmlNamespaceMapping
Implements

Remarks

To declare a mapping between a URI and a prefix, create an XmlNamespaceMapping class and add it to an XmlNamespaceMappingCollection object that is used as the XmlNamespaceManager for a binding.

Constructors

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).

Properties

Prefix

Gets or sets the prefix to use in Extensible Application Markup Language (XAML).

Uri

Gets or sets the Uri of the namespace for which to create a mapping.

Methods

Equals(Object)

Returns a value that indicates whether this XmlNamespaceMapping is equivalent to the specified instance.

GetHashCode()

Returns the hash code for this XmlNamespaceMapping.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Operators

Equality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs equality comparison by value.

Inequality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs inequality comparison by value.

Explicit Interface Implementations

ISupportInitialize.BeginInit()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

ISupportInitialize.EndInit()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to

Produto Versões
.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

See also