Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​ComponentModel.​DataAnnotations.​DataType

Assembly: System.ComponentModel.Annotations

Represents an enumeration of the data types associated with data fields and parameters.

Values

Custom
Represents a custom data type.
DateTime
Represents an instant in time, expressed as a date and time of day.
Date
Represents a date value.
Time
Represents a time value.
Duration
Represents a continuous time during which an object exists.
PhoneNumber
Represents a phone number value.
Currency
Represents a currency value.
Text
Represents text that is displayed.
Html
Represents an HTML file.
MultilineText
Represents multi-line text.
EmailAddress
Represents an email address.
Password
Represent a password value.
Url
Represents a URL value.
ImageUrl
Represents a URL to an image.
CreditCard
Represents a credit card number.
PostalCode
Represents a postal code.
Upload
Represents file upload data type.