DataAnnotationsModelValidator.ErrorMessage Property

 

Gets the error message for the validation failure.

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

protected internal string ErrorMessage { get; }

Property Value

Type: System.String

The error message for the validation failure.

Return to top
Show: