DataAnnotationsModelValidator.GetLocalizedErrorMessage Method (String)

 

Gets a localized error message for the model.

Namespace:   System.Web.ModelBinding
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.

Return Value

Type: System.String

The localized version of the error message.

.NET Framework
Available since 4.6.2
Return to top
Show: