XmlMapping Class

July 28, 2014

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Supports mappings between .NET Framework types and XML Schema data types.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml.Serialization (in System.Xml.Serialization.dll)

public abstract class XmlMapping

The XmlMapping type exposes the following members.

  NameDescription
Public propertyElementNameGet the name of the mapped element.
Public propertyNamespaceGets the namespace of the mapped element.
Public propertyXsdElementNameGets the name of the XSD element of the mapping.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetKeySets the key used to look up the mapping.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The XmlMapping class is the base class for the XmlTypeMapping class. It supports built-in and custom XML schema data types, plus SOAP encoding (Section 5 of the SOAP 1.1 specification).

XmlMapping exposes no public or protected members. Use the XmlMapping class instead of deriving a class directly from XmlMapping.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

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

Show:
© 2014 Microsoft