Export (0) Print
Expand All

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)

public:
static String^ FormatPropertyForClientValidation(
	String^ property
)

Parameters

property
Type: System::String
The property.

Return Value

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