SPList.BaseTemplate property

Gets the list definition type on which the list is based.

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

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.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace