DefaultModelBindingContext.ModelState 属性

定义

获取或设置 ,用于 ModelStateDictionary 在绑定时捕获 ModelStateEntry 模型对象图中的属性的值。

public:
 virtual property Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ ModelState { Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ value); };
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary ModelState { get; set; }
member this.ModelState : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary with get, set
Public Overrides Property ModelState As ModelStateDictionary

属性值

适用于