Partager via


IViewComponentFactory.ReleaseViewComponent Méthode

Définition

Libère un composant d’affichage instance.

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)

Paramètres

context
ViewComponentContext

Contexte associé à .component

component
Object

Composant d’affichage.

S’applique à