ViewResult.ViewEngine ViewResult.ViewEngine ViewResult.ViewEngine Property

Definition

Gets or sets the IViewEngine used to locate views.

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

Property Value

Remarks

When null, an instance of ICompositeViewEngine from ActionContext.HttpContext.RequestServices is used.

Applies to