The ValidateFormatAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ValidateFormatAttribute | Overloaded. |
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.
(Inherited from ValidationAttribute.) | |
| Pattern |
Gets the regex pattern.
| |
| ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |