SPListTemplate.IsCustomTemplate property

Gets a Boolean value that indicates whether the SPListTemplate object represents a list template, in other words, a template contained within an .stp file (custom template file).

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property IsCustomTemplate As Boolean
    Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean

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

Property value

Type: System.Boolean
true if the list template is a custom template; otherwise, false.

Remarks

The end user creates a custom template when they save a list as a template.

See also

Reference

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace