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

属性值

适用于