Compartir a través de


IViewComponentFactory.ReleaseViewComponent Método

Definición

Libera una instancia de componente de vista.

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)

Parámetros

context
ViewComponentContext

Contexto asociado a component.

component
Object

Componente de vista.

Se aplica a