SPFieldType Enumeration

The SPFieldType enumeration specifies a field type for a field.

Members

The following table shows the members of the SPFieldType enumeration and provides a brief description of each.

NameDescription
AttachmentsContains attachments.
BooleanContains Boolean values that are stored in the database as 1 or 0.
CalculatedContains calculated values.
ChoiceSpecifies a predetermined set of values that can be used to enter data into the field.
ComputedSpecifies an abstract field type that depends on other fields for its content and definition.
CounterContains an integer used for internal ID fields.
CrossProjectLinkSpecifies a link between projects in a Meetings Workspace site.
CurrencyContains currency values formatted based on a specific locale.
DateTimeContains date and time values.
ErrorContains errors.
FileContains files.
GridChoiceSpecifies a Choice field for a data sheet.
GuidContains GUIDs.
IntegerContains positive or negative integer values.
InvalidNot used.
LookupContains references to values in other lists.
MaxItemsContains the maximum number of items.
ModStatSpecifies Content Approval status.
MultiChoiceContains multiple values per list item.
NoteSpecifies a field that can contain multiple lines of text.
NumberContains floating point numbers.
RecurrenceSpecifies a field used in calendars for recurring events and, like computed fields, an abstract field type that depends on other fields for its content and definition.
TextContains a single line of text.
ThreadingSpecifies a field that is used in the creation and display of threaded Web discussions.
URLContains hyperlinks.
UserSpecifies users of a SharePoint site.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Security: Code Access Security

Page view tracker