DataAnnotationsModelValidator.GetLocalizedErrorMessage(String) Metodo

Definizione

Ottiene un messaggio di errore localizzato per il modello.

protected:
 virtual System::String ^ GetLocalizedErrorMessage(System::String ^ errorMessage);
protected virtual string GetLocalizedErrorMessage (string errorMessage);
abstract member GetLocalizedErrorMessage : string -> string
override this.GetLocalizedErrorMessage : string -> string
Protected Overridable Function GetLocalizedErrorMessage (errorMessage As String) As String

Parametri

errorMessage
String

Messaggio di errore da localizzare.

Restituisce

String

Versione localizzata del messaggio di errore.

Si applica a