SPMobileList.TemplateType, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets or sets the underlying template type for the list.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public string TemplateType { get; set; }

Valeur de la propriété

A String that specifies the template type of the list.

Although the property is type String, you must use a string representation of the name or the number of the template type as it appears in the SPListTemplateType enumeration. The possible values for the built-in list template types are shown in the table below.

For custom list templates, you can use the string representation of the type number, such as "10001" or "98765432", or the name, such as "MyCustomListTemplate." The type number is the value of the Type attribute of the <ListTemplate, élément (Modèle de liste)> element in the Elements.xml file that you create for the custom list template. See Procédure : créer une définition de liste personnalisée. The name is the value of the Name attribute of that same <ListTemplate, élément (Modèle de liste)> element.

When creating custom list templates, assign Type values above 10000 to ensure that your numbers do not conflict with new built-in template types that Microsoft may include with future versions of Windows SharePoint Services.

"AdminTasks"

"1200"

"Agenda"

"201"

"Announcements"

"104"

"Categories"

"303"

"Comments"

"302"

"Contacts"

"105"

"CustomGrid"

"120"

"DataConnectionLibrary"

"130"

"DataSources"

"110"

"Decision"

"204"

"DiscussionBoard"

"108"

"DocumentLibrary"

"101"

"Events"

"106"

"GanttTasks"

"150"

"GenericList"

"100"

"HomePageLibrary"

"212"

"InvalidType"

"-1"

"IssueTracking"

"1100"

"Links"

"103"

"ListTemplateCatalog"

"114"

"MasterPageCatalog"

"116"

"MeetingObjective"

"207"

"Meetings"

"200"

"MeetingUser"

"202"

"NoCodeWorkflows"

"117"

"PictureLibrary"

"109"

"Posts"

"301"

"Survey"

"102"

"Tasks"

"107"

"TextBox"

"210"

"ThingsToBring"

"211"

"UserInformation"

"112"

"WebPageLibrary"

"212"

"WebPartCatalog"

"113"

"WebTemplateCatalog"

"111"

"WorkflowHistory"

"140"

"WorkflowProcess"

"118"

"XMLForm"

"115"

Afficher: