IViewComponentResult.Execute(ViewComponentContext) Method

Definition

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.

Applies to