SPList.BaseTemplate Property
Gets the list definition type on which the list is based.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property BaseTemplate As SPListTemplateType
Get
'Usage
Dim instance As SPList
Dim value As SPListTemplateType
value = instance.BaseTemplate
public SPListTemplateType BaseTemplate { get; }
Property Value
Type: Microsoft.SharePoint.SPListTemplateType
An SPListTemplateType value that identifies the list definition type.