Share via


ViewComponentResult.ViewEngine 屬性

定義

警告

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

此屬性未使用,將在下一個主要版本中移除。

取得或設定 IViewEngine 用來尋找檢視的 。

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

屬性值

屬性

備註

當 為 時 null ,會使用 from ActionContext.HttpContext.RequestServicesICompositeViewEngine 實例。

適用於