Redigera

Dela via


CodeCompiler.FromDomBatch(CompilerParameters, CodeCompileUnit[]) Method

Definition

Compiles the specified compile units using the specified options, and returns the results from the compilation.

protected:
 virtual System::CodeDom::Compiler::CompilerResults ^ FromDomBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::CodeDom::CodeCompileUnit ^> ^ ea);
protected virtual System.CodeDom.Compiler.CompilerResults FromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea);
abstract member FromDomBatch : System.CodeDom.Compiler.CompilerParameters * System.CodeDom.CodeCompileUnit[] -> System.CodeDom.Compiler.CompilerResults
override this.FromDomBatch : System.CodeDom.Compiler.CompilerParameters * System.CodeDom.CodeCompileUnit[] -> System.CodeDom.Compiler.CompilerResults
Protected Overridable Function FromDomBatch (options As CompilerParameters, ea As CodeCompileUnit()) As CompilerResults

Parameters

options
CompilerParameters

A CompilerParameters object that indicates the compiler options.

ea
CodeCompileUnit[]

An array of CodeCompileUnit objects that indicates the source to compile.

Returns

The results of compilation.

Exceptions

options is null.

-or-

ea is null.

Applies to

See also