DataAnnotationsModelValidator.GetLocalizedErrorMessage Method (String)
Gets a localized error message for the model.
Assembly: System.Web (in System.Web.dll)
Protected Overridable Function GetLocalizedErrorMessage ( errorMessage As String ) As String
Parameters
- errorMessage
-
Type:
System.String
The error message to localize.
.NET Framework
Available since 4.6.2
Available since 4.6.2
Show: