DataAnnotationsModelValidator.Attribute Property

.NET Framework (current version)
 

Gets the validation attribute for the model validator.

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

member Attribute : ValidationAttribute with get, private set

Property Value

Type: System.ComponentModel.DataAnnotations.ValidationAttribute

The validation attribute.

.NET Framework
Available since 4.5
Return to top
Show: