Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPList.BaseType Property

Gets the base type for the list.

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

[ClientCallableConstraintAttribute(FixedId = "a", Type = ClientCallableConstraintType.Custom, Value = "It MUST be one of the following values: GenericList, DocumentLibrary, DiscussionBoard, Survey, or Issue as specified in Microsoft.SharePoint.Client.BaseType (section x.x.x.x).")]
public SPBaseType BaseType { get; }

Property Value

Type: Microsoft.SharePoint.SPBaseType
An SPBaseType value that specifies the base type.

The base types for list templates are defined in the Onet.xml file of a site definition.

© 2015 Microsoft