IsValid Property
Collapse the table of content
Expand the table of content

ModelStateDictionary.IsValid Property


Gets a value that indicates whether this instance of the model-state dictionary is valid.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public bool IsValid { get; }

Property Value

Type: System.Boolean

true if this instance is valid; otherwise, false.

Return to top
© 2016 Microsoft