Share via


SPViewStyle.BaseTemplate property

Gets the list definition type on which the view style 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 SPViewStyle
Dim value As SPListTemplateType

value = instance.BaseTemplate
public SPListTemplateType BaseTemplate { get; }

Property value

Type: Microsoft.SharePoint.SPListTemplateType
An SPListTemplateType value that specifies the type.

Remarks

The types for list definitions are described in Collaborative Application Markup Language (CAML) within the Schema.xml file for each type of list.

See also

Reference

SPViewStyle class

SPViewStyle members

Microsoft.SharePoint namespace