Partilhar via


ViewComponentResult.ViewEngine Propriedade

Definição

Cuidado

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

Essa propriedade não é utilizado e será removida na próxima versão principal.

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; }
[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

Valor da propriedade

Atributos

Comentários

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

Aplica-se a