This documentation is archived and is not being maintained.

SPList.ExcludeFromTemplate Property

Windows SharePoint Services 3

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)

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.