Op Englesch liesen

Deelen iwwer


ViewComponentResult.ViewEngine Property

Definition

Caution

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

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

Gets or sets the IViewEngine used to locate views.

C#
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine ViewEngine { get; set; }
C#
[System.Obsolete("This property is unused and will be removed in the next major version.")]
public Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine ViewEngine { get; set; }

Property Value

Attributes

Remarks

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

Applies to

Produkt Versiounen (Obsolet)
ASP.NET Core 1.0 (1.1)