DefaultViewComponentActivator.Create(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.
Instantiates a ViewComponent.
public:
virtual System::Object ^ Create(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public virtual object Create (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member Create : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
override this.Create : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
Public Overridable Function Create (context As ViewComponentContext) As Object
Parameters
- context
- ViewComponentContext
The ViewComponentContext for the executing ViewComponent.