Sdílet prostřednictvím


IViewComponentFactory.ReleaseViewComponent Metoda

Definice

Uvolní instanci komponenty zobrazení.

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)

Parametry

context
ViewComponentContext

Kontext přidružený k objektu component.

component
Object

Komponenta zobrazení.

Platí pro