The ValidateRangeAttribute type exposes the following members.

Constructors

  NameDescription
ValidateRangeAttribute
Initializes a new instance of the ValidateRangeAttribute class.

Properties

  NameDescription
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.)

See Also