CodeCompiler.ICodeCompiler.CompileAssemblyFromSourceBatch 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.
For a description of this member, see CompileAssemblyFromSourceBatch(CompilerParameters, String[]).
virtual System::CodeDom::Compiler::CompilerResults ^ System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::String ^> ^ sources) = System::CodeDom::Compiler::ICodeCompiler::CompileAssemblyFromSourceBatch;
System.CodeDom.Compiler.CompilerResults ICodeCompiler.CompileAssemblyFromSourceBatch (System.CodeDom.Compiler.CompilerParameters options, string[] sources);
abstract member System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
override this.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
Function CompileAssemblyFromSourceBatch (options As CompilerParameters, sources As String()) As CompilerResults Implements ICodeCompiler.CompileAssemblyFromSourceBatch
Parameters
- options
- CompilerParameters
A CompilerParameters object that indicates the compiler options.
- sources
- String[]
An array of strings that indicates the source code to compile.
Returns
The results of compilation.
Implements
Exceptions
options
is null
.
Remarks
This member is an explicit interface member implementation. It can be used only when the CodeCompiler instance is cast to an ICodeCompiler interface.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för