XmlCodeExporter Constructors

Definition

Initializes a new instance of the XmlCodeExporter class.

Overloads

XmlCodeExporter(CodeNamespace)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlCodeExporter class using the specified namespace.

XmlCodeExporter(CodeNamespace, CodeCompileUnit)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlCodeExporter class using the specified namespace and code compile unit.

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlCodeExporter class using the specified namespace, code compile unit, and code generation options.

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions, Hashtable)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlCodeExporter class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an object representing code generation options, and a collection of mapping objects.

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeDomProvider, CodeGenerationOptions, Hashtable)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlCodeExporter class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an enumeration specifying code options, and a collection of mapping objects.

XmlCodeExporter(CodeNamespace)

Initializes a new instance of the XmlCodeExporter class using the specified namespace.

This API supports the product infrastructure and is not intended to be used directly from your code.

public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace);

Parameters

codeNamespace
CodeNamespace

The namespace of the types to generate.

Remarks

Instead of creating an instance of the XmlCodeExporter class directly, use the Web Services Description Language tool (Wsdl.exe) or the XML Schema Definition tool (Xsd.exe).

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

XmlCodeExporter(CodeNamespace, CodeCompileUnit)

Initializes a new instance of the XmlCodeExporter class using the specified namespace and code compile unit.

This API supports the product infrastructure and is not intended to be used directly from your code.

public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit);

Parameters

codeNamespace
CodeNamespace

The namespace of the types to generate.

codeCompileUnit
CodeCompileUnit

A CodeDOM graph container to which used assembly references are automatically added.

Remarks

Instead of creating an instance of the XmlCodeExporter class directly, use the Web Services Description Language tool (Wsdl.exe) or the XML Schema Definition tool (Xsd.exe).

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions)

Initializes a new instance of the XmlCodeExporter class using the specified namespace, code compile unit, and code generation options.

This API supports the product infrastructure and is not intended to be used directly from your code.

public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options);

Parameters

codeNamespace
CodeNamespace

The namespace of the types to generate.

codeCompileUnit
CodeCompileUnit

A CodeCompileUnit program graph container to which used assembly references are automatically added.

options
CodeGenerationOptions

An enumeration value that provides options for generating .NET Framework types from XML schema custom data types.

Remarks

Instead of creating an instance of the XmlCodeExporter class directly, use the Web Services Description Language tool (Wsdl.exe) or the XML Schema Definition tool (Xsd.exe).

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeGenerationOptions, Hashtable)

Initializes a new instance of the XmlCodeExporter class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an object representing code generation options, and a collection of mapping objects.

This API supports the product infrastructure and is not intended to be used directly from your code.

public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);

Parameters

codeNamespace
CodeNamespace

The namespace of the types to generate.

codeCompileUnit
CodeCompileUnit

A CodeCompileUnit program graph container to which used assembly references are automatically added.

options
CodeGenerationOptions

An enumeration value that provides options for generating .NET Framework types from XML schema custom data types.

mappings
Hashtable

A Hashtable that contains XmlMapping objects.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

XmlCodeExporter(CodeNamespace, CodeCompileUnit, CodeDomProvider, CodeGenerationOptions, Hashtable)

Initializes a new instance of the XmlCodeExporter class using the specified .NET Framework namespace, code compile unit containing the graph of the objects, an enumeration specifying code options, and a collection of mapping objects.

This API supports the product infrastructure and is not intended to be used directly from your code.

public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.Compiler.CodeDomProvider codeProvider, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);

Parameters

codeNamespace
CodeNamespace

The namespace of the types to generate.

codeCompileUnit
CodeCompileUnit

A CodeCompileUnit program graph container to which used assembly references are automatically added.

codeProvider
CodeDomProvider

An enumeration value that provides options for generating .NET Framework types from XML schema custom data types.

options
CodeGenerationOptions

A CodeGenerationOptions that contains special instructions for code creation.

mappings
Hashtable

A Hashtable that contains XmlMapping objects.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1