ClientBuildManager.GetCompilerParameters 메서드

정의

가상 경로로 표시되는 파일을 빌드하는 데 사용되는 컴파일러 형식 및 매개 변수를 반환합니다.

public:
 void GetCompilerParameters(System::String ^ virtualPath, [Runtime::InteropServices::Out] Type ^ % codeDomProviderType, [Runtime::InteropServices::Out] System::CodeDom::Compiler::CompilerParameters ^ % compilerParameters);
public void GetCompilerParameters(string virtualPath, out Type codeDomProviderType, out System.CodeDom.Compiler.CompilerParameters compilerParameters);
member this.GetCompilerParameters : string * Type * CompilerParameters -> unit
Public Sub GetCompilerParameters (virtualPath As String, ByRef codeDomProviderType As Type, ByRef compilerParameters As CompilerParameters)

매개 변수

virtualPath
String

파일의 가상 경로입니다.

codeDomProviderType
Type

이 메서드가 반환되면 코드 생성 및 컴파일에 사용되는 공급자 형식이 포함됩니다.

compilerParameters
CompilerParameters

이 메서드가 반환될 때 파일을 컴파일하는 방법을 정의하는 속성이 포함됩니다.

예외

virtualPath가 null입니다.

적용 대상

추가 정보