Bagikan melalui


ViewComponentResult.ViewEngine Properti

Definisi

Perhatian

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

Properti ini tidak digunakan dan akan dihapus dalam versi utama berikutnya.

Mendapatkan atau mengatur yang IViewEngine digunakan untuk menemukan tampilan.

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

Nilai Properti

Atribut

Keterangan

Ketika null, instans dari ICompositeViewEngine digunakan ActionContext.HttpContext.RequestServices .

Berlaku untuk