Share via


SPBaseType enumeration

Specifies the base type for a list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Enumeration SPBaseType
'Usage
Dim instance As SPBaseType
public enum SPBaseType

Members

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.

Remarks

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.

See also

Reference

Microsoft.SharePoint namespace

BaseType

SPListTemplateType