IViewComponentResult.Execute(ViewComponentContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the result of a ViewComponent using the specified context
.
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)
Parameters
- context
- ViewComponentContext
The ViewComponentContext for the current component execution.