共用方式為


ModelBindingExecutionContext.ModelState 屬性

定義

取得模型狀態。

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

屬性值

模型狀態。

適用於