CompareAttribute.FormatPropertyForClientValidation Method (String)

 

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)

No code example is currently available or this language may not be supported.

Parameters

property
Type: System.String

The property.

Return Value

Type: System.String

The string "*." is prepended to the property.

Return to top
Show: