XmlMapping Class
This API supports the product infrastructure and is not intended to be used directly from your code.
Supports mappings between .NET Framework types and XML Schema data types.
Assembly: System.Xml (in System.Xml.dll)
System.Xml.Serialization::XmlMapping
System.Xml.Serialization::XmlMembersMapping
System.Xml.Serialization::XmlTypeMapping
| Name | Description | |
|---|---|---|
![]() | ElementName | This API supports the product infrastructure and is not intended to be used directly from your code. Get the name of the mapped element. |
![]() | Namespace | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the namespace of the mapped element. |
![]() | XsdElementName | This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of the XSD element of the mapping. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | SetKey(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. Sets the key used to look up the mapping. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The XmlMapping class is the base class for the XmlTypeMapping and XmlMembersMapping classes. 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.
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.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.


