Specifies the base type for a list.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Enumeration SPBaseType
用法
Dim instance As SPBaseType
public enum SPBaseType
成员
| 成员名称 | 说明 | |
|---|---|---|
| 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.