ModelBindingContext.ModelState 属性

定义

获取或设置模型状态。

public:
 property System::Web::ModelBinding::ModelStateDictionary ^ ModelState { System::Web::ModelBinding::ModelStateDictionary ^ get(); void set(System::Web::ModelBinding::ModelStateDictionary ^ value); };
public System.Web.ModelBinding.ModelStateDictionary ModelState { get; set; }
member this.ModelState : System.Web.ModelBinding.ModelStateDictionary with get, set
Public Property ModelState As ModelStateDictionary

属性值

ModelStateDictionary

模型状态或如果模型状态已不存在则为 ModelStateDictionary 的新的实例。

适用于