SoapSchemaImporter 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 SoapSchemaImporter class specifying the schemas, compiler options, and names of related code entities.

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

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

Parameters

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

An XmlSchemas containing a collection of XmlSchema objects.

options
Type: System.Xml.Serialization::CodeGenerationOptions

One of the CodeGenerationOptions that specifies various options for generating a .NET Framework type.

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

A CodeDomProvider used to generate the serialization code.

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

An ImportContext that describes the context in which a set of schema are bound to .NET Framework code entities.

.NET Framework
Available since 2.0
Return to top
Show: