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