SPBaseType Enumeration

Specifies the base type for a list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
<ClientCallableTypeAttribute(Name := "BaseType")> _
Public Enumeration SPBaseType
'Usage
Dim instance As SPBaseType
[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "BaseType")]
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\14\TEMPLATE\GLOBAL\XML.

See Also

Reference

Microsoft.SharePoint Namespace

BaseType

SPListTemplateType