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()

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é uživatelem ViewName. Pokud ViewName je hodnota null, název zobrazení, který hledáte, je Výchozí.

ExecuteAsync(ViewComponentContext)

Vyhledá a vykreslí zobrazení určené uživatelem ViewName. Pokud ViewName je hodnota null, název zobrazení, který hledáte, je Výchozí.

Platí pro