Name

XmlTypeMapping — System.Xml.Serialization (system.xml.dll)    class 

Synopsis

public class XmlTypeMapping : XmlMapping {
// Public Instance Properties
   public string ElementName{get; } 
   public string Namespace{get; } 
   public string TypeFullName{get; } 
   public string TypeName{get; } 
}

This type is passed to the XmlSerializer constructor when serializing an object type to SOAP. The XmlTypeMapping instance is obtained by instantiating a SoapReflectionImporter and calling its SoapReflectionImporter.ImportTypeMapping( ) method. The serialization can be further customized using the SoapAttributeOverrides class.

XmlTypeMapping ’s ElementName and Namespace properties return the element name and namespace, respectively. The TypeName and TypeFullName properties return the name and full name, respectively, of the mapped type.

Hierarchy

System.ObjectXmlMappingXmlTypeMapping

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.