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)

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