XmlCodeExporter Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlCodeExporter class.
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. |
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
.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 |
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
.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 |
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
.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 |
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
.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 |
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
.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 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: