XmlNamespaceMapping XmlNamespaceMapping XmlNamespaceMapping XmlNamespaceMapping Class

Definition

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

public ref class XmlNamespaceMapping : System::ComponentModel::ISupportInitialize
public class XmlNamespaceMapping : System.ComponentModel.ISupportInitialize
type XmlNamespaceMapping = class
    interface ISupportInitialize
Public Class XmlNamespaceMapping
Implements ISupportInitialize
Inheritance
XmlNamespaceMappingXmlNamespaceMappingXmlNamespaceMappingXmlNamespaceMapping
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() XmlNamespaceMapping() XmlNamespaceMapping() XmlNamespaceMapping()

Initializes a new instance of the XmlNamespaceMapping class.

XmlNamespaceMapping(String, Uri) XmlNamespaceMapping(String, Uri) XmlNamespaceMapping(String, Uri) XmlNamespaceMapping(String, Uri)

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

Properties

Prefix Prefix Prefix Prefix

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

Uri Uri Uri Uri

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this XmlNamespaceMapping.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Operators

Equality(XmlNamespaceMapping, XmlNamespaceMapping) Equality(XmlNamespaceMapping, XmlNamespaceMapping) Equality(XmlNamespaceMapping, XmlNamespaceMapping) Equality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs equality comparison by value.

Inequality(XmlNamespaceMapping, XmlNamespaceMapping) Inequality(XmlNamespaceMapping, XmlNamespaceMapping) Inequality(XmlNamespaceMapping, XmlNamespaceMapping) Inequality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs inequality comparison by value.

Explicit Interface Implementations

ISupportInitialize.BeginInit() ISupportInitialize.BeginInit() ISupportInitialize.BeginInit() ISupportInitialize.BeginInit()

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

ISupportInitialize.EndInit() ISupportInitialize.EndInit() ISupportInitialize.EndInit() ISupportInitialize.EndInit()

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

Applies to

See also