Class UDefFieldType
Field type: 1 = Number, 2 = Short text, 3 = Long text, 4 = Date, 5 = Unlimited date, 6 = Checkbox, 7 = Drop-down listbox, 8 = Decimal
Inheritance
System.Object
UDefFieldType
Namespace: SuperOffice.Data
Assembly: SoCore.dll
Syntax
public sealed class UDefFieldType : Enum
Fields
Checkbox
6: Checkbox, stored as an integer, 1 = checked
Declaration
public const UDefFieldType Checkbox
Field Value
Type | Description |
---|---|
UDefFieldType |
Date
4: Date, between 1.1.1970 and 2038, stored as seconds after 1.1.1970
Declaration
public const UDefFieldType Date
Field Value
Type | Description |
---|---|
UDefFieldType |
Decimal
8: Decimal / floating point, stored as a double
Declaration
public const UDefFieldType Decimal
Field Value
Type | Description |
---|---|
UDefFieldType |
List
7: List item reference, stored as an integer ID
Declaration
public const UDefFieldType List
Field Value
Type | Description |
---|---|
UDefFieldType |
LongText
3: Long text, up to 199 characters, stored in the 'large' table
Declaration
public const UDefFieldType LongText
Field Value
Type | Description |
---|---|
UDefFieldType |
Number
1: Number (32-bit integer)
Declaration
public const UDefFieldType Number
Field Value
Type | Description |
---|---|
UDefFieldType |
ShortText
2: Short text, up to 39 characters, stored in the 'small' table
Declaration
public const UDefFieldType ShortText
Field Value
Type | Description |
---|---|
UDefFieldType |
UnlimitedDate
5: Unlimited date (without time), stored as an YYYYMMDD string
Declaration
public const UDefFieldType UnlimitedDate
Field Value
Type | Description |
---|---|
UDefFieldType |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Extension Methods
EnumUtil.ToFieldMetadataTypeInfo(SuperOffice.Data.UDefFieldType)
EnumUtil.MapEnums<From, To>(From)