次の方法で共有


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

適用対象