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

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

public XmlSchemaImporter(
	XmlSchemas schemas
)

Parameters

schemas
Type: System.Xml.Serialization.XmlSchemas

A collection of XmlSchema objects.

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: