Export (0) Print
Expand All

XmlSchemaImporter Constructor (XmlSchemas, CodeGenerationOptions, ImportContext)

This API supports the .NET Framework 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


Type: System.Xml.Serialization.XmlSchemas

A collection of XmlSchema objects.

Type: System.Xml.Serialization.CodeGenerationOptions

A CodeGenerationOptions enumeration that specifies code generation options.

Type: System.Xml.Serialization.ImportContext

A ImportContext instance that specifies the import context.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft