RemoteAttribute.FormatErrorMessage Method (String)


Formats the error message that is displayed when validation fails.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


public override string FormatErrorMessage(
    string name
virtual String^ FormatErrorMessage(
    String^ name
) override
override FormatErrorMessage : 
        name:string -> string
Public Overrides Function FormatErrorMessage (
    name As String
) As String


  • name
    Type: System.String

    A name to display with the error message.

Return Value

Type: System.String

A formatted error message.

See Also

RemoteAttribute Class
System.Web.Mvc Namespace

Return to top