Sdílet prostřednictvím


DefaultViewComponentFactory.ReleaseViewComponent Metoda

Definice

Uvolní instanci komponenty zobrazení.

public:
 virtual 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
override this.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í.

Implementuje

Platí pro