ModelClientValidationRegexRule Constructor
Visual Studio 2010
Initializes a new instance of the ModelClientValidationRegexRule class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- errorMessage
- Type: System.String
The error message to display when the regular expression validation fails.
- pattern
- Type: System.String
The regular expression.
Community Additions
ADD
Show: