ModelClientValidationRangeRule(String, Object, Object) 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
public ModelClientValidationRangeRule (string errorMessage, object minValue, object maxValue);
new System.Web.Mvc.ModelClientValidationRangeRule : string * obj * obj -> System.Web.Mvc.ModelClientValidationRangeRule
Public Sub New (errorMessage As String, minValue As Object, maxValue As Object)
Parameters
- errorMessage
- String
The error message.
- minValue
- Object
The minimum value.
- maxValue
- Object
The maximum value.