共用方式為


ViewContext.FormContext 屬性

定義

取得或設定 FormContext 要呈現之表單專案的 。 如果未呈現任何表單,則會傳回預設內容。

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

屬性值

適用於