次の方法で共有


ICodeCompiler.CompileAssemblyFromSourceBatch メソッド

指定したコンパイラ設定を使用して、ソース コードが格納されている指定した文字列の配列からアセンブリをコンパイルします。

Function CompileAssemblyFromSourceBatch( _
   ByVal options As CompilerParameters, _   ByVal sources() As String _) As CompilerResults
[C#]
CompilerResults CompileAssemblyFromSourceBatch(
   CompilerParametersoptions,string[] sources);
[C++]
CompilerResults* CompileAssemblyFromSourceBatch(
   CompilerParameters* options,String* sources __gc[]);
[JScript]
function CompileAssemblyFromSourceBatch(
   options : CompilerParameters,sources : String[]) : CompilerResults;

パラメータ

  • options
    コンパイルの設定を示す CompilerParameters オブジェクト。
  • sources
    コンパイルするソース コード文字列。

戻り値

コンパイルの結果を示す CompilerResults オブジェクト。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ICodeCompiler インターフェイス | ICodeCompiler メンバ | System.CodeDom.Compiler 名前空間 | CompilerParameters | CompilerResults