CodeCompiler.FromSourceBatch(CompilerParameters, String[]) メソッド

定義

指定したオプションを使用して指定したソース コード文字列をコンパイルし、コンパイルの結果を返します。

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

パラメーター

options
CompilerParameters

コンパイラ オプションを示す CompilerParameters オブジェクト。

sources
String[]

コンパイルするソース コードを含む文字列の配列。

返品

コンパイルの結果。

例外

optionsnullです。

-または-

sourcesnullです。

適用対象

こちらもご覧ください