CodeCompiler.FromFileBatch(CompilerParameters, String[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的選項編譯指定檔案,並回傳編譯結果。
protected:
virtual System::CodeDom::Compiler::CompilerResults ^ FromFileBatch(System::CodeDom::Compiler::CompilerParameters ^ options, cli::array <System::String ^> ^ fileNames);
protected virtual System.CodeDom.Compiler.CompilerResults FromFileBatch(System.CodeDom.Compiler.CompilerParameters options, string[] fileNames);
abstract member FromFileBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
override this.FromFileBatch : System.CodeDom.Compiler.CompilerParameters * string[] -> System.CodeDom.Compiler.CompilerResults
Protected Overridable Function FromFileBatch (options As CompilerParameters, fileNames As String()) As CompilerResults
參數
- options
- CompilerParameters
一個 CompilerParameters 指示編譯器選項的物件。
- fileNames
- String[]
一個字串陣列,表示要編譯的檔案名稱。
傳回
彙整結果。