Share via


IViewComponentResult.Execute(ViewComponentContext) 方法

定義

使用指定的 context 執行 的結果 ViewComponent

public:
 void Execute(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public void Execute (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member Execute : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> unit
Public Sub Execute (context As ViewComponentContext)

參數

context
ViewComponentContext

ViewComponentContext目前元件執行的 。

適用於