SPList.ExcludeFromTemplate property
SharePoint 2013
Gets a Boolean value that indicates whether the content of the list is included when the list is saved as a list template or when the site to which the list belongs is saved as a site template.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public ReadOnly Property ExcludeFromTemplate As Boolean Get 'Usage Dim instance As SPList Dim value As Boolean value = instance.ExcludeFromTemplate
Property value
Type: System.Booleantrue if the content of the list is included in the list or site template; otherwise, false.