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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property IsCustomTemplate As Boolean
Get
'Usage
Dim instance As SPListTemplate
Dim value As Boolean
value = instance.IsCustomTemplate
[ClientCallableAttribute]
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.