Export (0) Print
Expand All

RemoteAttribute.FormatPropertyForClientValidation Method

Formats the property for client validation by prepending an asterisk (*) and a dot.

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

'Declaration
Public Shared Function FormatPropertyForClientValidation ( _
	property As String _
) As String
'Usage
Dim property As String
Dim returnValue As String

returnValue = RemoteAttribute.FormatPropertyForClientValidation(property)

Parameters

property
Type: System.String
The property.

Return Value

Type: System.String
The string "*." Is prepended to the property.
Show:
© 2014 Microsoft