SqlTypesSchemaImporterExtensionHelper.ImportSchemaType Method (XmlSchemaType, XmlSchemaObject, XmlSchemas, XmlSchemaImporter, CodeCompileUnit, CodeNamespace, CodeGenerationOptions, CodeDomProvider)

The SqlTypesSchemaImporterExtensionHelper class is not intended for use as a stand-alone component, but as a class from which other classes derive standard functionality.

Namespace:  System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public override string ImportSchemaType(
	XmlSchemaType type,
	XmlSchemaObject context,
	XmlSchemas schemas,
	XmlSchemaImporter importer,
	CodeCompileUnit compileUnit,
	CodeNamespace mainNamespace,
	CodeGenerationOptions options,
	CodeDomProvider codeProvider
)

Parameters

type
Type: System.Xml.Schema.XmlSchemaType

type

context
Type: System.Xml.Schema.XmlSchemaObject

context

schemas
Type: System.Xml.Serialization.XmlSchemas

schemas

importer
Type: System.Xml.Serialization.XmlSchemaImporter

importer

compileUnit
Type: System.CodeDom.CodeCompileUnit

compileUnit

mainNamespace
Type: System.CodeDom.CodeNamespace

mainNamespace

options
Type: System.Xml.Serialization.CodeGenerationOptions

options

codeProvider
Type: System.CodeDom.Compiler.CodeDomProvider

codeProvider

Return Value

Type: System.String
The SqlTypesSchemaImporterExtensionHelper class is not intended for use as a stand-alone component, but as a class from which other classes derive standard functionality.

.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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft