Partager via


IViewComponentActivator.Release(ViewComponentContext, Object) Méthode

Définition

Libère une instance 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)

Paramètres

context
ViewComponentContext

Objet ViewComponentContext associé au viewComponent.

viewComponent
Object

ViewComponent à libérer.

S’applique à