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

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

public:
XmlSchemaImporter(
	XmlSchemas^ schemas,
	CodeGenerationOptions options,
	CodeDomProvider^ codeProvider,
	ImportContext^ context
)

Parameters

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

A collection of XmlSchema objects.

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.

codeProvider
Type: System.CodeDom.Compiler::CodeDomProvider^

A CodeDomProvider used to generate the serialization code.

context
Type: System.Xml.Serialization::ImportContext^

A ImportContext instance that specifies the import context.

.NET Framework
Available since 2.0
Return to top
Show: