Export (0) Print
Expand All
Expand Minimize

FieldType enumeration

Specifies the type of the field.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public enum FieldType

Member nameDescription
InvalidMust not be used. The value = 0.
IntegerSpecifies that the field contains an integer value. The value = 1.
TextSpecifies that the field contains a single line of text. The value = 2.
NoteSpecifies that the field contains multiple lines of text. The value = 3.
DateTimeSpecifies that the field contains a date and time value or a date-only value. The value = 4.
CounterSpecifies that the field contains a monotonically increasing integer. The value = 5.
ChoiceSpecifies that the field contains a single value from a set of specified values. The value = 6.
LookupSpecifies that the field is a lookup field. The value = 7.
BooleanSpecifies that the field contains a Boolean value. The value = 8.
NumberSpecifies that the field contains a floating-point number value. The value = 9.
CurrencySpecifies that the field contains a currency value. The value = 10.
URLSpecifies that the field contains a URI and an optional description of the URI. The value = 11.
ComputedSpecifies that the field is a computed field. The value = 12.
ThreadingSpecifies that the field indicates the thread for a discussion item in a threaded view of a discussion board. The value = 13.
GuidSpecifies that the field contains a GUID value. The value = 14.
MultiChoiceSpecifies that the field contains one or more values from a set of specified values. The value = 15.
GridChoiceSpecifies that the field contains rating scale values for a survey list. The value = 16.
CalculatedSpecifies that the field is a calculated field. The value = 17.
FileSpecifies that the field contains the leaf name of a document as a value. The value = 18.
AttachmentsSpecifies that the field indicates whether the list item has attachments. The value = 19.
UserSpecifies that the field contains one or more users and groups as values. The value = 20.
RecurrenceSpecifies that the field indicates whether a meeting in a calendar list recurs. The value = 21.
CrossProjectLinkSpecifies that the field contains a link between projects in a Meeting Workspace site. The value = 22.
ModStatSpecifies that the field indicates moderation status. The value = 23.
ErrorSpecifies that the type of the field was set to an invalid value. The value = 24.
ContentTypeIdSpecifies that the field contains a content type identifier as a value. The value = 25.
PageSeparatorSpecifies that the field separates questions in a survey list onto multiple pages. The value = 26.
ThreadIndexSpecifies that the field indicates the position of a discussion item in a threaded view of a discussion board. The value = 27.
WorkflowStatusSpecifies that the field indicates the status of a workflow instance on a list item. The value = 28.
AllDayEventSpecifies that the field indicates whether a meeting in a calendar list is an all-day event. The value = 29.
WorkflowEventTypeSpecifies that the field contains the most recent event in a workflow instance. The value = 30.
Geolocation
OutcomeChoice
MaxItemsMust not be used. The value = 31.

The following table describes the field types that are defined and used by the base types of a SharePoint Server protocol server.

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.

Show:
© 2015 Microsoft