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

Public ReadOnly Property BaseTemplate As SPListTemplateType
    Get

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