ModelMethodContext.ModelState 属性

定义

获取模型状态。

public:
 property System::Web::ModelBinding::ModelStateDictionary ^ ModelState { System::Web::ModelBinding::ModelStateDictionary ^ get(); };
public System.Web.ModelBinding.ModelStateDictionary ModelState { get; }
member this.ModelState : System.Web.ModelBinding.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary

属性值

ModelStateDictionary

模型状态。

注解

有关将模型绑定与 Web Forms 的教程系列,请参阅模型绑定和Web Forms。

适用于