XmlNamespaceMapping Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Data.XmlNamespaceMapping

Public Class XmlNamespaceMapping
	Implements ISupportInitialize

NameDescription
System_CAPS_pubmethodXmlNamespaceMapping()

Initializes a new instance of the XmlNamespaceMapping class.

System_CAPS_pubmethodXmlNamespaceMapping(String, Uri)

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

NameDescription
System_CAPS_pubpropertyPrefix

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

System_CAPS_pubpropertyUri

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this XmlNamespaceMapping is equivalent to the specified instance.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this XmlNamespaceMapping.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs equality comparison by value.

System_CAPS_puboperatorSystem_CAPS_staticInequality(XmlNamespaceMapping, XmlNamespaceMapping)

Performs inequality comparison by value.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.BeginInit()

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.EndInit()

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

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.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: