ICodeCompiler.CompileAssemblyFromSource(CompilerParameters, String) 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 specified string containing source code, using the specified compiler settings.
public:
System::CodeDom::Compiler::CompilerResults ^ CompileAssemblyFromSource(System::CodeDom::Compiler::CompilerParameters ^ options, System::String ^ source);
public System.CodeDom.Compiler.CompilerResults CompileAssemblyFromSource (System.CodeDom.Compiler.CompilerParameters options, string source);
abstract member CompileAssemblyFromSource : System.CodeDom.Compiler.CompilerParameters * string -> System.CodeDom.Compiler.CompilerResults
Public Function CompileAssemblyFromSource (options As CompilerParameters, source As String) As CompilerResults
Parameters
- options
- CompilerParameters
A CompilerParameters object that indicates the settings for compilation.
- source
- String
The source code to compile.
Returns
A CompilerResults object that indicates the results of compilation.
Applies to
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.