Edit

Share via


CodeCompiler.ICodeCompiler.CompileAssemblyFromSourceBatch Method

Definition

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