ContentViewComponentResult.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.
Encodes and writes the Content.
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.