System.Xml.Serialization.XmlSchemaExporter Class

Populates System.Xml.Schema.XmlSchema objects with XML schema element declarations that are found in type mapping objects.

See Also: XmlSchemaExporter Members

Syntax

public class XmlSchemaExporter

Remarks

The System.Xml.Serialization.XmlSchemaExporter class provides a programmatic representation of an XML Schema Definition language (XSD) document. Instead of using System.Xml.Serialization.XmlSchemaExporter directly, use the System.Web.Services.Description.ServiceDescriptionReflector class or the XML Schema Definition Tool (Xsd.exe).

The System.Web.Services.Description.ServiceDescriptionReflector class creates System.Web.Services.Description.ServiceDescription objects from classes that are identified as Web services. It uses the System.Xml.Serialization.XmlSchemaExporter class when a Web service class specifies:

Xsd.exe generates XML schema documents from one or more types in a run-time assembly file using the System.Xml.Serialization.XmlSchemaExporter class and reflection.

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