ViewViewComponentResult.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.
public:
virtual 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
override this.Execute : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> unit
Public Sub Execute (context As ViewComponentContext)
Parameters
- context
- ViewComponentContext
The ViewComponentContext for the current component execution.
Implements
Remarks
This method synchronously calls and blocks on ExecuteAsync(ViewComponentContext).