共用方式為


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

屬性值

實作

適用於