This topic has not yet been rated - Rate this topic

DataTypeAttribute Properties

The DataTypeAttribute type exposes the following members.

  Name Description
Public property CustomDataType Gets a string that represents the name of the customized data type to associate with the member.
Public property DataType Gets the type of the data object to associate with the member.
Public property DisplayFormat Gets the object that represents the format of the data type.
Public property ErrorMessage Gets or sets the non-localizable error message to display when validation fails. (Inherited from ValidationAttribute.)
Public property ErrorMessageResourceName Gets or sets the property name on the resource type that provides the localizable error message. (Inherited from ValidationAttribute.)
Public property ErrorMessageResourceType Gets or sets the resource type that provides the localizable error message. (Inherited from ValidationAttribute.)
Protected property ErrorMessageString Gets the localized or non-localized error message. (Inherited from ValidationAttribute.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.