Επεξεργασία

Κοινή χρήση μέσω


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);
public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace);
new System.Xml.Serialization.XmlCodeExporter : System.CodeDom.CodeNamespace -> System.Xml.Serialization.XmlCodeExporter
Public Sub New (codeNamespace As 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

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);
public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit);
new System.Xml.Serialization.XmlCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit -> System.Xml.Serialization.XmlCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As 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

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);
public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options);
new System.Xml.Serialization.XmlCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.Xml.Serialization.CodeGenerationOptions -> System.Xml.Serialization.XmlCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, options As CodeGenerationOptions)

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

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);
public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);
new System.Xml.Serialization.XmlCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.Xml.Serialization.CodeGenerationOptions * System.Collections.Hashtable -> System.Xml.Serialization.XmlCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, options As CodeGenerationOptions, mappings As Hashtable)

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

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);
public XmlCodeExporter (System.CodeDom.CodeNamespace codeNamespace, System.CodeDom.CodeCompileUnit codeCompileUnit, System.CodeDom.Compiler.CodeDomProvider codeProvider, System.Xml.Serialization.CodeGenerationOptions options, System.Collections.Hashtable mappings);
new System.Xml.Serialization.XmlCodeExporter : System.CodeDom.CodeNamespace * System.CodeDom.CodeCompileUnit * System.CodeDom.Compiler.CodeDomProvider * System.Xml.Serialization.CodeGenerationOptions * System.Collections.Hashtable -> System.Xml.Serialization.XmlCodeExporter
Public Sub New (codeNamespace As CodeNamespace, codeCompileUnit As CodeCompileUnit, codeProvider As CodeDomProvider, options As CodeGenerationOptions, mappings As Hashtable)

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