Sdílet prostřednictvím


IViewComponentActivator.Release(ViewComponentContext, Object) Metoda

Definice

Uvolní instanci 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)

Parametry

context
ViewComponentContext

ViewComponentContext přidružený k tomuto objektu viewComponent.

viewComponent
Object

Pro ViewComponent uvolnění.

Platí pro