This documentation is archived and is not being maintained.
RangeAttribute Properties
Visual Studio 2008
The RangeAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
ErrorMessage | Gets or sets an error message to associate with a validation control if a validation fails. (Inherited from ValidationAttribute.) |
|
ErrorMessageResourceName | Gets or sets the error message resource name to use as lookup for the ErrorMessageResourceType if a validation fails. (Inherited from ValidationAttribute.) |
|
ErrorMessageResourceType | Gets or sets the resource type to use for error message lookup if a validation fails. (Inherited from ValidationAttribute.) |
|
ErrorMessageString | Gets the error message to associate with a validation control when a validation fails. (Inherited from ValidationAttribute.) |
|
Maximum | Gets the maximum allowed field value. |
|
Minimum | Gets the minimum allowed field value. |
|
OperandType | Gets the type of the data field whose value must be validated. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |
Show: