Freigeben über


ViewComponentResult.ViewEngine Eigenschaft

Definition

Achtung

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

Diese Eigenschaft ist nicht verwendet und wird in der nächsten Hauptversion entfernt.

Ruft den ab, der IViewEngine zum Suchen nach Ansichten verwendet wird, oder legt ihn fest.

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

Eigenschaftswert

Attribute

Hinweise

Wenn nullverwendet wird, wird eine instance von ActionContext.HttpContext.RequestServicesICompositeViewEngine verwendet.

Gilt für: