DefaultViewComponentFactory.CreateViewComponent(ViewComponentContext) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un nuovo controller per l'oggetto specificato context
.
public:
virtual 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
override this.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.