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

属性值

适用于