Compartilhar via


IViewComponentActivator.Release(ViewComponentContext, Object) Método

Definição

Libera uma instância ViewComponent.

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

Parâmetros

context
ViewComponentContext

O ViewComponentContext associado ao viewComponent.

viewComponent
Object

O ViewComponent a ser liberado.

Aplica-se a