SPList.BaseType property

Gets the base type for the list.

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

Syntax

'Declaration
Public ReadOnly Property BaseType As SPBaseType
    Get
'Usage
Dim instance As SPList
Dim value As SPBaseType

value = instance.BaseType
public SPBaseType BaseType { get; }

Property value

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

Remarks

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

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace