DataTypeAttribute Properties
The DataTypeAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
CustomDataType | Gets a string that represents the name of the customized data type to associate with the member. |
|
DataType | Gets the type of the data object to associate with the member. |
|
DisplayFormat | Gets the object that represents the format of the data type. |
|
ErrorMessage | Gets or sets the non-localizable error message to display when validation fails. (Inherited from ValidationAttribute.) |
|
ErrorMessageResourceName | Gets or sets the property name on the resource type that provides the localizable error message. (Inherited from ValidationAttribute.) |
|
ErrorMessageResourceType | Gets or sets the resource type that provides the localizable error message. (Inherited from ValidationAttribute.) |
|
ErrorMessageString | Gets the localized or non-localized error message. (Inherited from ValidationAttribute.) |