.NET Framework Class Library
DataAnnotationsModelValidator<TAttribute>.Attribute Property
Gets the validation attribute from the model validator.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic
Protected ReadOnly Property Attribute As TAttribute Get
C#
protected TAttribute Attribute { get; }
Visual C++
protected: property TAttribute Attribute { TAttribute get (); }
See Also