ModelValidator.IsRequired Property
.NET Framework (current version)
When implemented in a derived class, gets a value that indicates whether the model is required.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Booleantrue if the model is required; otherwise false. The default is false.
.NET Framework
Available since 4.5
Available since 4.5
Show: