DataAnnotationsModelValidator.Attribute Property
.NET Framework (current version)
Gets the validation attribute for the model validator.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.ComponentModel.DataAnnotations.ValidationAttributeThe validation attribute.
.NET Framework
Available since 4.5
Available since 4.5
Show: