Share via


ViewViewComponentResult.ExecuteAsync(ViewComponentContext) メソッド

定義

で指定されたビューを検索して ViewNameレンダリングします。 が の場合ViewName、検索されるビュー名は になります"Default"null

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> System.Threading.Tasks.Task
Public Function ExecuteAsync (context As ViewComponentContext) As Task

パラメーター

context
ViewComponentContext

ViewComponentContext現在のコンポーネント実行の 。

戻り値

Taskビューのレンダリングが完了すると完了する 。

実装

適用対象