Freigeben über


IViewComponentActivator.Create(ViewComponentContext) Methode

Definition

Instanziiert einen ViewComponent.

public:
 System::Object ^ Create(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public object Create (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member Create : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> obj
Public Function Create (context As ViewComponentContext) As Object

Parameter

context
ViewComponentContext

Der ViewComponentContext für das ausführende ViewComponent.

Gibt zurück

Gilt für: