Share via


CodeCompiler.FromSourceBatch(CompilerParameters, String[]) Metoda

Definice

Zkompiluje zadané řetězce zdrojového kódu pomocí zadaných možností a vrátí výsledky z kompilace.

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

Parametry

options
CompilerParameters

Objekt CompilerParameters , který označuje možnosti kompilátoru.

sources
String[]

Pole řetězců obsahující zdrojový kód, který se má zkompilovat.

Návraty

Výsledky kompilace.

Výjimky

options je null.

-nebo-

sources je null.

Platí pro

Viz také