IHtmlHelper.ViewContext 属性

定义

获取有关视图的上下文信息。

public:
 property Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ ViewContext { Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ get(); };
public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; }
member this.ViewContext : Microsoft.AspNetCore.Mvc.Rendering.ViewContext
Public ReadOnly Property ViewContext As ViewContext

属性值

适用于