DataAnnotationsModelValidator.ErrorMessage Property

Gets the error message for the validation failure.

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

member ErrorMessage : string

Property Value

Type: System.String
The error message for the validation failure.
Show: