次の方法で共有


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場合は、 のICompositeViewEngineActionContext.HttpContext.RequestServicesインスタンスが使用されます。

適用対象