DataAnnotationsModelValidator.ErrorMessage Property

.NET Framework (current version)
 

Gets the error message for a validation failure.

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

Protected Friend ReadOnly Property ErrorMessage As String

Property Value

Type: System.String

The error message.

.NET Framework
Available since 4.5
Return to top
Show: