Share via


SPViewStyle.HasTemplateType Property

Gets a Boolean value that indicates whether the style is based on one of the built-in list definition types.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property HasTemplateType As Boolean
    Get
'Usage
Dim instance As SPViewStyle
Dim value As Boolean

value = instance.HasTemplateType
public bool HasTemplateType { get; }

Property Value

Type: System.Boolean
true if the style is based on one of the built-in list definition types; otherwise, false.

See Also

Reference

SPViewStyle Class

SPViewStyle Members

Microsoft.SharePoint Namespace