Condividi tramite


DefaultViewComponentFactory.ReleaseViewComponent Metodo

Definizione

Rilascia un'istanza del componente di visualizzazione.

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)

Parametri

context
ViewComponentContext

Contesto associato componenta .

component
Object

Componente di visualizzazione.

Implementazioni

Si applica a