ViewDataDictionary.ModelState 屬性

定義

取得模型的狀態。

public System.Web.Mvc.ModelStateDictionary ModelState { get; }
member this.ModelState : System.Web.Mvc.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary

屬性值

模型的狀態。

適用於