Controller.ModelState Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft das Modellzustandswörterbuch ab, das den Zustand des Modells und der Modellbindungs-Validierung enthält.
public System.Web.Mvc.ModelStateDictionary ModelState { get; }
member this.ModelState : System.Web.Mvc.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary
Eigenschaftswert
Das Modellzustandswörterbuch.