Partager via


ViewComponentResult.ViewEngine Propriété

Définition

Attention

This property is unused and will be removed in the next major version.

Cette propriété n’est pas utilisée et sera supprimée dans la prochaine version majeure.

Obtient ou définit le IViewEngine utilisé pour localiser les 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; }
[System.Obsolete("This property is unused and will be removed in the next major version.")]
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine ViewEngine { get; set; }
member this.ViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine with get, set
[<System.Obsolete("This property is unused and will be removed in the next major version.")>]
member this.ViewEngine : Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine with get, set
Public Property ViewEngine As IViewEngine

Valeur de propriété

Attributs

Remarques

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

S’applique à