DataAnnotationsModelValidator.GetLocalizedErrorMessage Method (String)

 

Gets a localized error message for the model.

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

Return Value

Type: System.String

The localized version of the error message.

.NET Framework
Available since 4.6.2
Return to top
Show: