SharePoint RegistrationID's
Sl .No
|
Name
|
Registration ID
|
1
|
NoListTemplate
|
0
|
2
|
GenericList
|
100
|
3
|
DocumentLibrary
|
101
|
4
|
Survey
|
102
|
5
|
Links
|
103
|
6
|
Announcements
|
104
|
7
|
Contacts
|
105
|
8
|
Events
|
106
|
9
|
Tasks
|
107
|
10
|
DiscussionBoard
|
108
|
11
|
PictureLibrary
|
109
|
12
|
DataSources
|
110
|
13
|
WebTemplateCatalog
|
111
|
14
|
UserInformation
|
112
|
15
|
WebPartCatalog
|
113
|
16
|
ListTemplateCatalog
|
114
|
17
|
XMLForm
|
115
|
18
|
MasterPageCatalog
|
116
|
19
|
NoCodeWorkflows
|
117
|
20
|
WorkflowProcess
|
118
|
21
|
WebPageLibrary
|
119
|
22
|
CustomGrid
|
120
|
23
|
SolutionCatalog
|
121
|
24
|
NoCodePublic
|
122
|
25
|
ThemeCatalog
|
123
|
26
|
DataConnectionLibrary
|
130
|
27
|
WorkflowHistory
|
140
|
28
|
GanttTasks
|
150
|
29
|
Meetings
|
200
|
30
|
Agenda
|
201
|
31
|
MeetingUser
|
202
|
32
|
Decision
|
204
|
33
|
MeetingObjective
|
207
|
34
|
TextBox
|
210
|
35
|
ThingsToBring
|
211
|
36
|
HomePageLibrary
|
212
|
37
|
Posts
|
301
|
38
|
Comments
|
302
|
39
|
Categories
|
303
|
40
|
Facility
|
402
|
41
|
Whereabouts
|
403
|
42
|
CallTrack
|
404
|
43
|
Circulation
|
405
|
44
|
Timecard
|
420
|
45
|
Holidays
|
421
|
46
|
IMEDic
|
499
|
47
|
ExternalList
|
600
|
48
|
IssueTracking
|
1100
|
49
|
AdminTasks
|
1200
|
50
|
HealthRules
|
1220
|
51
|
HealthReports
|
1221
|
52
|
InvalidType
|
-1
|
1
|
NoListTemplate
|
0
|
Get the above details using Console application
Code:
int i = 1;
// Print a report header.
Console.WriteLine("{0,-20} {1,-30}
{2,-30}", "Sl. No",
"Name", "Reg.
ID");
//// Print the details.
foreach (string
enumName in Enum.GetNames(typeof(SPListTemplateType)))
{
Console.WriteLine("{0,-20}
{1,-30} {2,-30}",
i++, enumName, (int)(Enum.Parse(typeof(SPListTemplateType), enumName)));
}
Download
Solution File here
References:
No comments:
Post a Comment