Export (0) Print
Expand All

RemoteAttribute.FormatErrorMessage Method

Formats the error message that is displayed when validation fails.

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

'Declaration
Public Overrides Function FormatErrorMessage ( _
	name As String _
) As String
'Usage
Dim instance As RemoteAttribute 
Dim name As String 
Dim returnValue As String 

returnValue = instance.FormatErrorMessage(name)

Parameters

name
Type: System.String

A name to display with the error message.

Return Value

Type: System.String
A formatted error message.
Show:
© 2014 Microsoft