Partager via


PartialViewResult.ViewEngine Propriété

Définition

Obtient ou définit le utilisé pour localiser les IViewEngine vues.

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

Valeur de propriété

Remarques

Quand null, une instance de ICompositeViewEngine de ActionContext.HttpContext.RequestServices est utilisée.

S’applique à