RazorPage.ViewContext 属性

定义

获取或设置呈现视图的视图上下文。

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

属性值

实现

适用于