XmlSchemaImporter Class
TOC
Collapse the table of content
Expand the table of content

XmlSchemaImporter Class

 
Use BaseTrue

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

Generates internal mappings to .NET Framework types for XML schema element declarations, including literal XSD message parts in a WSDL document.

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

System.Object
  System.Xml.Serialization.SchemaImporter
    System.Xml.Serialization.XmlSchemaImporter

public class XmlSchemaImporter : SchemaImporter

NameDescription
System_CAPS_pubmethodXmlSchemaImporter(XmlSchemas)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects representing the XML schemas used by SOAP literal messages defined in a WSDL document.

System_CAPS_pubmethodXmlSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class.

System_CAPS_pubmethodXmlSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class for a collection of XML schemas, using the specified code generation options and import context.

System_CAPS_pubmethodXmlSchemaImporter(XmlSchemas, CodeIdentifiers)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a Web Services Description Language (WSDL) document.

System_CAPS_pubmethodXmlSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a WSDL document, and a CodeGenerationOptions enumeration value.

NameDescription
System_CAPS_pubpropertyExtensions

Gets a collection of schema importer extensions.(Inherited from SchemaImporter.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodImportAnyType(XmlQualifiedName, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for a single, (SOAP) literal element part defined in a WSDL document.

System_CAPS_pubmethodImportDerivedTypeMapping(XmlQualifiedName, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document.

System_CAPS_pubmethodImportDerivedTypeMapping(XmlQualifiedName, Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document or as a part in a WSDL document.

System_CAPS_pubmethodImportMembersMapping(String, String, SoapSchemaMember[])

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.

System_CAPS_pubmethodImportMembersMapping(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for a single element part of a literal-use SOAP message defined in a WSDL document.

System_CAPS_pubmethodImportMembersMapping(XmlQualifiedName[])

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.

System_CAPS_pubmethodImportMembersMapping(XmlQualifiedName[], Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.

System_CAPS_pubmethodImportSchemaType(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document.

System_CAPS_pubmethodImportSchemaType(XmlQualifiedName, Type)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document.

System_CAPS_pubmethodImportSchemaType(XmlQualifiedName, Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document.

System_CAPS_pubmethodImportTypeMapping(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code. Generates internal type mapping information for an element defined in an XML schema document.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The XmlSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) and the ServiceDescriptionImporter class while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. The class is also used by the Web Services Description Language Tool (Wsdl.exe) while generating classes from XML Schema Definition (XSD) documents. Instead of using this class directly, use Wsdl.exe or Xsd.exe.

The XmlSchemaImporter class has methods to generate internal mappings to .NET Framework types for elements defined in an XSD document or as parts in a WSDL document. The following list shows when the class is used by Wsdl.exe:

  • A WSDL document specifies literal use, where the content of SOAP message parameters and return values (or request and response documents) is literally specified with XML schema definitions.

  • A WSDL document specifies the .NET Framework's non-SOAP implementations of Web services via the HTTP-GET and HTTP-POST operations.

.NET Framework
Available since 1.1

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

Return to top
Show:
© 2016 Microsoft