The ValidateLengthAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidateLengthAttribute |
Initializes a new instance of the ValidateLengthAttribute class.
|
Properties
Name | Description | |
---|---|---|
Maximum |
Gets the maximum length.
| |
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.) | |
Minimum |
Gets the minimum length.
| |
ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |