ICodeCompiler.CompileAssemblyFromDom 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 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
Parameters
- options
- CompilerParameters
A CompilerParameters object that indicates the settings for compilation.
- compilationUnit
- CodeCompileUnit
A CodeCompileUnit that indicates the code to compile.
Returns
A CompilerResults object that indicates the results of compilation.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.