Compartir a través de


PartialViewResult.ViewEngine Propiedad

Definición

Obtiene o establece el IViewEngine objeto utilizado para buscar vistas.

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; }
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine? ViewEngine { get; set; }
member this.ViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine with get, set
Public Property ViewEngine As IViewEngine

Valor de propiedad

Comentarios

Cuando nullse usa , se usa una instancia de ICompositeViewEngine from ActionContext.HttpContext.RequestServices .

Se aplica a