다음을 통해 공유


IViewCompiler.CompileAsync(String) 메서드

정의

지정된 경로에서 뷰를 컴파일합니다.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::Razor::Compilation::CompiledViewDescriptor ^> ^ CompileAsync(System::String ^ relativePath);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor> CompileAsync (string relativePath);
abstract member CompileAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Razor.Compilation.CompiledViewDescriptor>
Public Function CompileAsync (relativePath As String) As Task(Of CompiledViewDescriptor)

매개 변수

relativePath
String

뷰에 대한 상대 경로입니다.

반환

CompiledViewDescriptor.

적용 대상