Partager via


DefaultViewComponentFactory.ReleaseViewComponent Méthode

Définition

Libère un composant d’affichage instance.

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)

Paramètres

context
ViewComponentContext

Contexte associé à .component

component
Object

Composant d’affichage.

Implémente

S’applique à