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

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

public XmlSchemaImporter(
	XmlSchemas schemas,
	CodeGenerationOptions options,
	ImportContext context
)

Parameters

schemas
Type: System.Xml.Serialization.XmlSchemas

A collection of XmlSchema objects.

options
Type: System.Xml.Serialization.CodeGenerationOptions

A CodeGenerationOptions enumeration that specifies code generation options.

context
Type: System.Xml.Serialization.ImportContext

A ImportContext instance that specifies the import context.

.NET Framework
Available since 2.0
Return to top
Show: