Partilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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