共用方式為


ViewContext.View 屬性

定義

取得或設定 IView 目前呈現的 ,如果有的話。

public:
 property Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ View { Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ get(); void set(Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ value); };
public Microsoft.AspNetCore.Mvc.ViewEngines.IView View { get; set; }
member this.View : Microsoft.AspNetCore.Mvc.ViewEngines.IView with get, set
Public Property View As IView

屬性值

適用於