ViewViewComponentResult Třída

Definice

A IViewComponentResult , který při spuštění vykreslí částečné zobrazení.

public ref class ViewViewComponentResult : Microsoft::AspNetCore::Mvc::IViewComponentResult
public class ViewViewComponentResult : Microsoft.AspNetCore.Mvc.IViewComponentResult
type ViewViewComponentResult = class
    interface IViewComponentResult
Public Class ViewViewComponentResult
Implements IViewComponentResult
Dědičnost
ViewViewComponentResult
Implementuje

Konstruktory

ViewViewComponentResult()

A IViewComponentResult , který při spuštění vykreslí částečné zobrazení.

Vlastnosti

TempData

Získá nebo nastaví ITempDataDictionary instanci.

ViewData

Získá nebo nastaví ViewDataDictionary.

ViewEngine

Získá nebo nastaví ViewEngine.

ViewName

Získá nebo nastaví název zobrazení.

Metody

Execute(ViewComponentContext)

Vyhledá a vykreslí zobrazení určené parametrem ViewName. Pokud ViewName je null, název hledaného zobrazení je"Default" .

ExecuteAsync(ViewComponentContext)

Vyhledá a vykreslí zobrazení určené parametrem ViewName. Pokud ViewName je null, název hledaného zobrazení je"Default" .

Platí pro