SPBaseType enumeration
SharePoint 2013
Specifies the base type for a list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
| Member name | Description | |
|---|---|---|
| UnspecifiedBaseType | No base type specified. Value = -1. | |
| GenericList | Generic type of list template used for most lists. Value = 0. | |
| DocumentLibrary | Document library. Value = 1. | |
| Unused | Unused. Value = 2. | |
| DiscussionBoard | Discussion board. Deprecated. Use SPBaseType.GenericList and SPListTemplateType.DiscussionBoard. | |
| Survey | Survey list. Value = 4. | |
| Issue | Issue-tracking list. Value = 5. |
Base list types are defined in the global Onet.xml file located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\GLOBAL\XML.
Show: