Udostępnij przez


IViewComponentFactory.ReleaseViewComponent Metoda

Definicja

Zwalnia wystąpienie składnika widoku.

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

Kontekst skojarzony z elementem component.

component
Object

Składnik widoku.

Dotyczy