Class Constants.DataTypes
Contains constants for built-in Umbraco data types.
Inheritance
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Constants.DataTypes
Fields
View SourceBoolean
The integer ID for the Boolean (True/False) data type.
Declaration
public const int Boolean = -49
Field Value
| Type | Description |
|---|---|
| int |
DateTime
The integer ID for the Date/Time data type.
Declaration
public const int DateTime = -36
Field Value
| Type | Description |
|---|---|
| int |
DefaultContentListView
The integer ID for the default content list view data type.
Declaration
public const int DefaultContentListView = -95
Field Value
| Type | Description |
|---|---|
| int |
DefaultMediaListView
The integer ID for the default media list view data type.
Declaration
public const int DefaultMediaListView = -96
Field Value
| Type | Description |
|---|---|
| int |
DefaultMembersListView
The integer ID for the default members list view data type.
Declaration
public const int DefaultMembersListView = -97
Field Value
| Type | Description |
|---|---|
| int |
DropDownMultiple
The integer ID for the Dropdown (multiple select) data type.
Declaration
public const int DropDownMultiple = -42
Field Value
| Type | Description |
|---|---|
| int |
DropDownSingle
The integer ID for the Dropdown (single select) data type.
Declaration
public const int DropDownSingle = -39
Field Value
| Type | Description |
|---|---|
| int |
ImageCropper
The integer ID for the Image Cropper data type.
Declaration
public const int ImageCropper = 1043
Field Value
| Type | Description |
|---|---|
| int |
LabelBigint
The integer ID for the Label (big integer) data type.
Declaration
public const int LabelBigint = -93
Field Value
| Type | Description |
|---|---|
| int |
LabelBytes
The integer ID for the Label (bytes) data type.
Declaration
public const int LabelBytes = -104
Field Value
| Type | Description |
|---|---|
| int |
LabelDateTime
The integer ID for the Label (date/time) data type.
Declaration
public const int LabelDateTime = -94
Field Value
| Type | Description |
|---|---|
| int |
LabelDecimal
The integer ID for the Label (decimal) data type.
Declaration
public const int LabelDecimal = -99
Field Value
| Type | Description |
|---|---|
| int |
LabelInt
The integer ID for the Label (integer) data type.
Declaration
public const int LabelInt = -91
Field Value
| Type | Description |
|---|---|
| int |
LabelPixels
The integer ID for the Label (pixels) data type.
Declaration
public const int LabelPixels = -105
Field Value
| Type | Description |
|---|---|
| int |
LabelString
The integer ID for the Label (string) data type.
Declaration
public const int LabelString = -92
Field Value
| Type | Description |
|---|---|
| int |
LabelTime
The integer ID for the Label (time) data type.
Declaration
public const int LabelTime = -98
Field Value
| Type | Description |
|---|---|
| int |
RichtextEditor
The integer ID for the Rich Text Editor data type.
Declaration
public const int RichtextEditor = -87
Field Value
| Type | Description |
|---|---|
| int |
Tags
The integer ID for the Tags data type.
Declaration
public const int Tags = 1041
Field Value
| Type | Description |
|---|---|
| int |
Textarea
The integer ID for the Textarea data type.
Declaration
public const int Textarea = -89
Field Value
| Type | Description |
|---|---|
| int |
Textbox
The integer ID for the Textbox data type.
Declaration
public const int Textbox = -88
Field Value
| Type | Description |
|---|---|
| int |
Upload
The integer ID for the Upload (file) data type.
Declaration
public const int Upload = -90
Field Value
| Type | Description |
|---|---|
| int |
UploadArticle
The integer ID for the Upload (article) data type.
Declaration
public const int UploadArticle = -102
Field Value
| Type | Description |
|---|---|
| int |
UploadAudio
The integer ID for the Upload (audio) data type.
Declaration
public const int UploadAudio = -101
Field Value
| Type | Description |
|---|---|
| int |
UploadVectorGraphics
The integer ID for the Upload (vector graphics) data type.
Declaration
public const int UploadVectorGraphics = -103
Field Value
| Type | Description |
|---|---|
| int |
UploadVideo
The integer ID for the Upload (video) data type.
Declaration
public const int UploadVideo = -100
Field Value
| Type | Description |
|---|---|
| int |