DataAnnotationsModelValidator<TAttribute>.Attribute Property

Gets the validation attribute from the model validator.

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

protected TAttribute Attribute { get; }

Property Value

Type: TAttribute
The validation attribute from the model validator.
Show: