The ValidateRangeAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidateRangeAttribute |
Initializes a new instance of the ValidateRangeAttribute class.
|
Properties
Name | Description | |
---|---|---|
High |
Gets the upper bound of the permitted range.
| |
Low |
Gets the lower bound of the permitted range.
| |
Message |
Allows a custom error message to be specified. Use {0} as a placeholder
for the name of the attribute being validated.
(Inherited from ValidationAttribute.) | |
ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |