XmlSchemaImporter Constructor (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.

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

public:
XmlSchemaImporter(
	XmlSchemas^ schemas,
	CodeIdentifiers^ typeIdentifiers
)

Parameters

schemas
Type: System.Xml.Serialization::XmlSchemas^

An XmlSchemas object.

typeIdentifiers
Type: System.Xml.Serialization::CodeIdentifiers^

A CodeIdentifiers object that specifies a collection of classes being generated for bindings defined in a WSDL document.

Use this constructor when a WSDL document specifies that the data is serialized according to a schema (<soap:body use = 'literal' />).

Instead of directly creating an instance of the XmlSchemaImporter class, use Wsdl.exe or Xsd.exe.

.NET Framework
Available since 1.1
Return to top
Show: