ICodeCompiler.CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit) Método
Definição
Compila um assembly da árvore System.CodeDom contida no CodeCompileUnit especificado usando as configurações de compilador especificadas.Compiles an assembly from the System.CodeDom tree contained in the specified CodeCompileUnit, using the specified compiler settings.
public:
System::CodeDom::Compiler::CompilerResults ^ CompileAssemblyFromDom(System::CodeDom::Compiler::CompilerParameters ^ options, System::CodeDom::CodeCompileUnit ^ compilationUnit);
public System.CodeDom.Compiler.CompilerResults CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit compilationUnit);
abstract member CompileAssemblyFromDom : System.CodeDom.Compiler.CompilerParameters * System.CodeDom.CodeCompileUnit -> System.CodeDom.Compiler.CompilerResults
Public Function CompileAssemblyFromDom (options As CompilerParameters, compilationUnit As CodeCompileUnit) As CompilerResults
Parâmetros
- options
- CompilerParameters
Um objeto CompilerParameters que indica as configurações da compilação.A CompilerParameters object that indicates the settings for compilation.
- compilationUnit
- CodeCompileUnit
Um CodeCompileUnit que indica o código a compilar.A CodeCompileUnit that indicates the code to compile.
Retornos
Um objeto CompilerResults que indica os resultados da compilação.A CompilerResults object that indicates the results of compilation.