Freigeben über


DefaultViewComponentFactory.ReleaseViewComponent Methode

Definition

Gibt eine Ansichtskomponente instance frei.

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)

Parameter

context
ViewComponentContext

Der Kontext, der dem zugeordnet ist component.

component
Object

Die Ansichtskomponente.

Implementiert

Gilt für: