SPListTemplateType 枚举

指定的列表定义或列表模板的类型,并将每个分配给列表类型的 ID 号的相对应的基础Int32值。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Enumeration SPListTemplateType
用法
Dim instance As SPListTemplateType
public enum SPListTemplateType

成员

成员名称 说明
InvalidType 不使用。值 =-1。
NoListTemplate 未指定的列表类型。值 = 0
GenericList 自定义列表。值 = 100。
DocumentLibrary 文档库。值 = 101。
Survey 调查。值 = 102。
Links 链接。值 = 103。
Announcements 通知。值 = 104。
Contacts 联系人。值 = 105。
Events 日历。值 = 106。
Tasks 任务。值 = 107。
DiscussionBoard 讨论板。值 = 108。
PictureLibrary 图片库。值 = 109。
DataSources 网站的数据源。值 = 110。
WebTemplateCatalog 网站模板库。值 = 111。
UserInformation 用户信息。值 = 112。
WebPartCatalog Web 部件库。值 = 113。
ListTemplateCatalog 列表模板库。值 = 114。
XMLForm XML 表单库。值 = 115。
MasterPageCatalog 母版页样式库。值 = 116。
NoCodeWorkflows 无代码工作流。值 = 117。
WorkflowProcess 自定义工作流程。值 = 118。
WebPageLibrary Wiki 网页库。值 = 119。
CustomGrid 自定义列表网格。值 = 120。
SolutionCatalog 解决方案。值 = 121
NoCodePublic 无代码公共工作流。值 = 122
ThemeCatalog 主题。值 = 123
DesignCatalog DesignCatalog.Value = 124
AppDataCatalog AppDataCatalog.Value = 125
DataConnectionLibrary 用于共享信息的外部数据连接的数据连接库。值 = 130。
WorkflowHistory 工作流历史记录。值 = 140。
GanttTasks 项目的任务。值 = 150。
HelpLibrary 帮助库。值 = 151。
AccessRequest 访问请求列表。值 = 160。
TasksWithTimelineAndHierarchy 使用日程表和层次结构的任务。值 = 171。
MaintenanceLogs 维护日志库。值 = 175。
Meetings 会议序列 (会议)。值 = 200。
Agenda 议程 (会议)。值 = 201。
MeetingUser 与会者 (会议)。值 = 202。
Decision 决策 (会议)。值 = 204。
MeetingObjective 目标 (会议)。值 = 207。
TextBox 文本框 (会议)。值 = 210。
ThingsToBring 必带物品 (会议)。值 = 211。
HomePageLibrary 工作区网页 (会议)。值 = 212。
Posts 文章 (博客)。值 = 301。
Comments 注释 (博客)。值 = 302。
Categories 类别 (博客)。值 = 303。
Facility 实用程序。值 = 402
Whereabouts 行踪。值 = 403
CallTrack 调用跟踪。值 = 404
Circulation 循环。值 = 405
Timecard 考勤卡。值 = 420
Holidays 假日。值 = 421
IMEDic 输入法 (输入法编辑器) 词典。值 = 499
ExternalList 外部。值 = 600
MySiteDocumentLibrary MySiteDocumentLibrary.Value = 700
IssueTracking 问题跟踪。值 = 1100年。
AdminTasks 管理员任务。值 = 1200年。
HealthRules 运行状况规则。值 = 1220年
HealthReports 运行状况报告。值 = 1221年
DeveloperSiteDraftApps 草稿应用程序开发人员网站中的库。值 = 1230年

备注

The underlying integer values of each value in the enumeration are deliberately chosen to match the 协作应用程序标记语言 (CAML) Type ID number of the list type. (This ID is the value of the Type attribute of the ListTemplate Element (List Template) and the List Element (List).)

Keep in mind that Microsoft Corporation products that are built on SharePoint Foundation, such as Microsoft SharePoint Server, can and do define additional list types. Also, Microsoft SharePoint Foundation farms where your solution is deployed may have custom list types created, for example, by adding a CAML ListTemplate Element (List Template) to a Feature or to the ONET.xml file of a custom site definition configuration. (Such custom list types should have ID values above 10000 to ensure that they do not conflict with numbers that will be used by Microsoft in future versions of SharePoint Foundation.) Since these list types are not have corresponding values in this enumeration, you should consider not using this enumeration as a parameter value in your custom methods. Consider, instead, using String or Int32 parameters that take the list type ID as string or integer.

另请参阅

引用

Microsoft.SharePoint 命名空间