DataAnnotationsModelValidator<TAttribute>.Attribute Property

.NET Framework (current version)
 

Gets the validation attribute.

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

protected TAttribute Attribute { get; }

Property Value

Type: TAttribute

The validation attribute.

.NET Framework
Available since 4.5
Return to top
Show: