Condividi tramite


IViewComponentFactory.CreateViewComponent(ViewComponentContext) Metodo

Definizione

Crea un nuovo controller per l'oggetto specificato context.

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

Parametri

context
ViewComponentContext

ViewComponentContext per il componente di visualizzazione.

Restituisce

Componente di visualizzazione.

Si applica a