Compartilhar via


IViewComponentActivator.Create(ViewComponentContext) Método

Definição

Cria uma instância de um 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

Parâmetros

context
ViewComponentContext

O ViewComponentContext para o em execução ViewComponent.

Retornos

Aplica-se a