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)

protected:
property TAttribute Attribute {
	TAttribute get ();
}

Property Value

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