Aracılığıyla paylaş


ViewViewComponentResult.Execute(ViewComponentContext) Yöntem

Tanım

tarafından ViewNamebelirtilen bir görünümü bulur ve işler. ise ViewNamenull, aranan görünüm adı olur"Default".

public:
 virtual void Execute(Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ context);
public void Execute (Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext context);
abstract member Execute : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> unit
override this.Execute : Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext -> unit
Public Sub Execute (context As ViewComponentContext)

Parametreler

context
ViewComponentContext

ViewComponentContext Geçerli bileşen yürütme için.

Uygulamalar

Açıklamalar

Bu yöntem üzerinde ExecuteAsync(ViewComponentContext)zaman uyumlu olarak çağrılar ve bloklar.

Şunlara uygulanır