NamespaceMapEntry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class NamespaceMapEntry
public class NamespaceMapEntry
type NamespaceMapEntry = class
Public Class NamespaceMapEntry
- Inheritance
-
NamespaceMapEntry
Remarks
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.
Constructors
NamespaceMapEntry() |
Initializes a new instance of the NamespaceMapEntry class. |
NamespaceMapEntry(String, String, String) |
Initializes a new instance of the NamespaceMapEntry class, using provided XML namespace, CLR namespace, and assembly information. |
Properties
AssemblyName |
Gets or sets the assembly name that contains the types in the CLR namespace. |
ClrNamespace |
Gets or sets the CLR namespace that contains the types being mapped. |
XmlNamespace |
Gets or sets the mapping prefix for the XML namespace being mapped to. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
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) |