共用方式為


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

屬性值

適用於