SPList.ExcludeFromTemplate property
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.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ExcludeFromTemplate As Boolean
Get
'Usage
Dim instance As SPList
Dim value As Boolean
value = instance.ExcludeFromTemplate
public bool ExcludeFromTemplate { get; }
Property value
Type: System.Boolean
true if the content of the list is included in the list or site template; otherwise, false.