FieldType enumeration
Specifies the type of the field.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Enumeration FieldType
'Usage
Dim instance As FieldType
public enum FieldType
Members
Member name | Description | |
---|---|---|
Invalid | Must not be used. The value = 0. | |
Integer | Specifies that the field contains an integer value. The value = 1. | |
Text | Specifies that the field contains a single line of text. The value = 2. | |
Note | Specifies that the field contains multiple lines of text. The value = 3. | |
DateTime | Specifies that the field contains a date and time value or a date-only value. The value = 4. | |
Counter | Specifies that the field contains a monotonically increasing integer. The value = 5. | |
Choice | Specifies that the field contains a single value from a set of specified values. The value = 6. | |
Lookup | Specifies that the field is a lookup field. The value = 7. | |
Boolean | Specifies that the field contains a Boolean value. The value = 8. | |
Number | Specifies that the field contains a floating-point number value. The value = 9. | |
Currency | Specifies that the field contains a currency value. The value = 10. | |
URL | Specifies that the field contains a URI and an optional description of the URI. The value = 11. | |
Computed | Specifies that the field is a computed field. The value = 12. | |
Threading | Specifies that the field indicates the thread for a discussion item in a threaded view of a discussion board. The value = 13. | |
Guid | Specifies that the field contains a GUID value. The value = 14. | |
MultiChoice | Specifies that the field contains one or more values from a set of specified values. The value = 15. | |
GridChoice | Specifies that the field contains rating scale values for a survey list. The value = 16. | |
Calculated | Specifies that the field is a calculated field. The value = 17. | |
File | Specifies that the field contains the leaf name of a document as a value. The value = 18. | |
Attachments | Specifies that the field indicates whether the list item has attachments. The value = 19. | |
User | Specifies that the field contains one or more users and groups as values. The value = 20. | |
Recurrence | Specifies that the field indicates whether a meeting in a calendar list recurs. The value = 21. | |
CrossProjectLink | Specifies that the field contains a link between projects in a Meeting Workspace site. The value = 22. | |
ModStat | Specifies that the field indicates moderation status. The value = 23. | |
Error | Specifies that the type of the field was set to an invalid value. The value = 24. | |
ContentTypeId | Specifies that the field contains a content type identifier as a value. The value = 25. | |
PageSeparator | Specifies that the field separates questions in a survey list onto multiple pages. The value = 26. | |
ThreadIndex | Specifies that the field indicates the position of a discussion item in a threaded view of a discussion board. The value = 27. | |
WorkflowStatus | Specifies that the field indicates the status of a workflow instance on a list item. The value = 28. | |
AllDayEvent | Specifies that the field indicates whether a meeting in a calendar list is an all-day event. The value = 29. | |
WorkflowEventType | Specifies that the field contains the most recent event in a workflow instance. The value = 30. | |
Geolocation | ||
OutcomeChoice | ||
MaxItems | Must not be used. The value = 31. |
Remarks
The following table describes the field types that are defined and used by the base types of a SharePoint Server protocol server.
Field Type Name |
Meaning |
---|---|
AllDayEvent |
The AllDayEvent field is only used in conjunction with an Events list. true if the item is an all day event (that is, does not occur during a specific set of hours in a day). |
Attachments |
Field describes whether one or more files are associated with the item. See Attachments for more information on attachments. true if a list item has attachments, and false if a list item does not have attachments. |
Boolean |
Field allows a true or false value. |
Calculated |
Field value is calculated based on the value of other columns. |
Choice |
Field allows selection from a set of suggested values. A choice field supports a field-level setting which specifies whether free-form values are supported. |
Computed |
Field renders output based on the value of other columns. |
ContentTypeId |
Field contains a content type identifier for an item. ContentTypeId conforms to the structure defined in ContentTypeId. |
Counter |
Counter is a monotonically increasing integer field, and has a unique value in relation to other values that are stored for the field in the list. Counter is used only for the list item identifier field, and not intended for use elsewhere. |
CrossProjectLink |
Field allows a link to a Meeting Workspace site. |
Currency |
Field allows for currency-related data. The Currency field has a CurrencyLocaleId property which takes a locale identifier of the currency to use. |
DateTime |
Field allows full date and time values, as well as date-only values. |
Error |
Specifies errors. Value = 24. |
File |
Specifies a reference to a file that can be used to retrieve the contents of that file. |
GridChoice |
Grid choice supports specification of multiple number scales in a list. |
Guid |
Specifies that the value of the field is a GUID. |
Integer |
Field allows an integer value. |
Invalid |
Not used. Value = 0. |
Lookup |
Field allows a reference to another list item. The field supports specification of a list identifier for a targeted list. An optional site identifier can also be specified, which specifies the site of the list which contains the target of the lookup. |
MaxItems |
Specifies the maximum number of items. Value = 31. |
ModStat |
Specifies the current status of a moderation process on the document. Value corresponds to one of the moderation status values. |
MultiChoice |
Field allows one or more values from a set of specified choices. A MultiChoice field can also support free-form values. |
Note |
Field allows larger amounts of text. |
Number |
Field allows a positive or negative number. A number field supports a field level setting used to specify the number of decimal places to display. |
PageSeparator |
Represents a placeholder for a page separator in a survey list. PageSeparator is only intended to be used with a Survey list. |
Recurrence |
Specifies whether a field contains a recurrence pattern for an item. |
Text |
Field allows a limited-length string of text. |
Threading |
Contains data on the threading of items in a discussion board. |
ThreadIndex |
Contains a compiled index of threads in a discussion board. |
User |
A lookup to a particular user in the User Info list. |
URL |
Field allows a URL and optional description of the URL. |
WorkflowEventType |
A description of a type of a historical workflow event. See WorkflowEventType Enumeration for more information. |
WorkflowStatus |
Contains status on a running workflow for a particular item. |