ICodeCompiler.CompileAssemblyFromDomBatch Method
Definition
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.
Compiles an assembly based on the System.CodeDom trees contained in the specified array of CodeCompileUnit objects, using the specified compiler settings.
public:
System::CodeDom::Compiler::CompilerResults ^ CompileAssemblyFromDomBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::CodeDom::CodeCompileUnit ^> ^ compilationUnits);
public System.CodeDom.Compiler.CompilerResults CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] compilationUnits);
abstract member CompileAssemblyFromDomBatch : System.CodeDom.Compiler.CompilerParameters * System.CodeDom.CodeCompileUnit[] -> System.CodeDom.Compiler.CompilerResults
Public Function CompileAssemblyFromDomBatch (options As CompilerParameters, compilationUnits As CodeCompileUnit()) As CompilerResults
Parameters
- options
- CompilerParameters
A CompilerParameters object that indicates the settings for compilation.
- compilationUnits
- CodeCompileUnit[]
An array of type CodeCompileUnit that indicates the code to compile.
Returns
A CompilerResults object that indicates the results of compilation.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應