Редагувати

Поділитися через


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

See also