Partilhar via


ViewResult.ViewEngine Propriedade

Definição

Obtém ou define o IViewEngine usado para localizar exibições.

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 da propriedade

Comentários

Quando null, uma instância de de ActionContext.HttpContext.RequestServicesICompositeViewEngine é usada.

Aplica-se a