ViewComponentResult.ViewEngine Vlastnost

Definice

Upozornění

This property is unused and will be removed in the next major version.

Tato vlastnost se nepoužívá a bude odebrána v další hlavní verzi.

Získá nebo nastaví IViewEngine použité k vyhledání zobrazení.

public:
 property Microsoft::AspNetCore::Mvc::ViewEngines::IViewEngine ^ ViewEngine { Microsoft::AspNetCore::Mvc::ViewEngines::IViewEngine ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewEngines::IViewEngine ^ value); };
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine ViewEngine { get; set; }
[System.Obsolete("This property is unused and will be removed in the next major version.")]
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine ViewEngine { get; set; }
member this.ViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine with get, set
[<System.Obsolete("This property is unused and will be removed in the next major version.")>]
member this.ViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine with get, set
Public Property ViewEngine As IViewEngine

Hodnota vlastnosti

IViewEngine
Atributy

Poznámky

Pokud je hodnota null, použije se instance ICompositeViewEngine z ActionContext.HttpContext.RequestServices .

Platí pro