NamespaceMapEntry Class
TOC
Collapse the table of content
Expand the table of content

NamespaceMapEntry Class

 

Provides information that the XamlTypeMapper uses for mapping between an XML namespace, a CLR namespace, and the assembly that contains the relevant types for that CLR namespace.

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

System.Object
  System.Windows.Markup.NamespaceMapEntry

public class NamespaceMapEntry

NameDescription
System_CAPS_pubmethodNamespaceMapEntry()

Initializes a new instance of the NamespaceMapEntry class.

System_CAPS_pubmethodNamespaceMapEntry(String, String, String)

Initializes a new instance of the NamespaceMapEntry class, using provided XML namespace, CLR namespace, and assembly information.

NameDescription
System_CAPS_pubpropertyAssemblyName

Gets or sets the assembly name that contains the types in the CLR namespace.

System_CAPS_pubpropertyClrNamespace

Gets or sets the CLR namespace that contains the types being mapped.

System_CAPS_pubpropertyXmlNamespace

Gets or sets the mapping prefix for the XML namespace being mapped to.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from 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()

Serves as the default hash function. (Inherited from Object.)

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

This type is specific to the WPF implementation of XAML. If you use it in a general XAML implementation, you must include the WPF assemblies.

Alternative techniques that do not require including WPF assemblies include referencing the XAML schema context (available in a service provider context from IXamlSchemaContextProvider, or from XamlObjectWriter.SchemaContext from a XAML node loop or general XAML writer frame of reference.) The XAML schema context includes API for returning its assemblies, preferred prefix mappings, and XAML namespace information.

.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:
© 2016 Microsoft