Compartilhar via


IViewComponentFactory.ReleaseViewComponent Método

Definição

Libera uma instância de componente de exibição.

public:
 void ReleaseViewComponent(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context, System::Object ^ component);
public void ReleaseViewComponent (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context, object component);
abstract member ReleaseViewComponent : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * obj -> unit
Public Sub ReleaseViewComponent (context As ViewComponentContext, component As Object)

Parâmetros

context
ViewComponentContext

O contexto associado ao component.

component
Object

O componente de exibição.

Aplica-se a