XmlSchemaImporter Constructor (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.
Assembly: System.Xml (in System.Xml.dll)
public:
XmlSchemaImporter(
XmlSchemas^ schemas,
CodeIdentifiers^ typeIdentifiers,
CodeGenerationOptions options
)
Parameters
- schemas
-
Type:
System.Xml.Serialization::XmlSchemas^
A collection of XmlSchema objects.
- typeIdentifiers
-
Type:
System.Xml.Serialization::CodeIdentifiers^
A CodeIdentifiers object that specifies a collection of classes being generated for bindings defined in a WSDL document.
- options
-
Type:
System.Xml.Serialization::CodeGenerationOptions
A bitwise combination of the CodeGenerationOptions values that specifies the options to use when generating .NET Framework types for a Web service.
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.
Available since 2.0