CompareAttribute.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 = CompareAttribute.FormatPropertyForClientValidation(property)

Parameters

property
Type: System.String

The property.

Return Value

Type: System.String
The string "*." is prepended to the property.
Show: