ModelClientValidationMaxLengthRule(String, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ModelClientValidationMaxLengthRule(string errorMessage, int maximumLength);
new System.Web.Mvc.ModelClientValidationMaxLengthRule : string * int -> System.Web.Mvc.ModelClientValidationMaxLengthRule
Public Sub New (errorMessage As String, maximumLength As Integer)
Parameters
- errorMessage
- String
- maximumLength
- Int32