The ValidationAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidationAttribute |
Properties
Name | Description | |
---|---|---|
Message |
Allows a custom error message to be specified. Use {0} as a placeholder
for the name of the attribute being validated.
| |
ValidationRule |
Gets the validation rule.
|