DataAnnotationsModelValidator<TAttribute>::Attribute Property

Visual Studio 2010

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.

Community Additions

ADD
Show: