Export (0) Print
Expand All

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)

function get Attribute () : TAttribute

Property Value

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