Freigeben über


ViewResult.ViewEngine Eigenschaft

Definition

Ruft die IViewEngine zum Suchen von Ansichten verwendeten Ab oder legt diese fest.

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

Eigenschaftswert

Hinweise

Wenn nullverwendet wird, wird ein instance von ICompositeViewEngine von ActionContext.HttpContext.RequestServices verwendet.

Gilt für: