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입니다.

적용 대상

추가 정보