Attribute Property
Collapse the table of content
Expand the table of content

DataAnnotationsModelValidator(Of TAttribute).Attribute Property

Gets the validation attribute from the model validator.

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

'Declaration
Protected ReadOnly Property Attribute As TAttribute
	Get
'Usage
Dim value As TAttribute

value = Me.Attribute

Property Value

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