System.Xml.Serialization.XmlCodeExporter Class

Generates types and attribute declarations from internal type mapping information for XML schema element declarations.

See Also: XmlCodeExporter Members

Syntax

public class XmlCodeExporter : CodeExporter

Remarks

The System.Xml.Serialization.XmlCodeExporter class generates .NET Framework types or attribute declarations from internal mappings to .NET Framework types. These internal mappings are generated by the System.Xml.Serialization.XmlSchemaImporter class for elements defined in an XSD document or as parts in a Web Services Description Language (WSDL) document. System.Xml.Serialization.XmlCodeExporter is not used directly; it is used with the Web Services Description Language tool (Wsdl.exe) or the XML Schema Definition tool (Xsd.exe).

Wsdl.exe uses the types or attribute declarations that are generated by System.Xml.Serialization.XmlCodeExporter and the internal mappings generated by the System.Xml.Serialization.XmlSchemaImporter class to generate client proxy classes or abstract server classes from a WSDL document. Wsdl.exe uses System.Xml.Serialization.XmlCodeExporter and the System.Web.Services.Description.ServiceDescriptionImporter class when a WSDL document specifies:

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0