指定したオプションを使用して、指定した複数のコンパイル単位をコンパイルし、そのコンパイル結果を返します。
Protected Overridable Function FromDomBatch( _
ByVal options As CompilerParameters, _ ByVal ea() As CodeCompileUnit _) As CompilerResults
[C#]
protected virtual CompilerResults FromDomBatch(CompilerParametersoptions,CodeCompileUnit[] ea);
[C++]
protected: virtual CompilerResults* FromDomBatch(CompilerParameters* options,CodeCompileUnit* ea[]);
[JScript]
protected function FromDomBatch(
options : CompilerParameters,ea : CodeCompileUnit[]) : CompilerResults;
パラメータ
- options
コンパイルのときに使用するオプションを示す CompilerParameters 。 - ea
コンパイルするソースを示す CodeCompileUnit オブジェクトの配列。
戻り値
コンパイルの結果を示す CompilerResults 。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (コンパイルするために必要なアクセス許可) SecurityPermissionFlag.UnmanagedCode (関連する列挙体)
参照
CodeCompiler クラス | CodeCompiler メンバ | System.CodeDom.Compiler 名前空間 | CompilerParameters | CodeCompileUnit | CompilerResults