SPListTemplate.Type property

Gets the type of the list definition or list template.

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

Syntax

'Declaration
Public ReadOnly Property Type As SPListTemplateType
    Get
'Usage
Dim instance As SPListTemplate
Dim value As SPListTemplateType

value = instance.Type
public SPListTemplateType Type { get; }

Property value

Type: Microsoft.SharePoint.SPListTemplateType
An Microsoft.SharePoint.SPListTemplateType value that represents the type.

Remarks

For a list template, the Type property returns the type of the list definition from which the template originates.

See also

Reference

SPListTemplate class

SPListTemplate members

Microsoft.SharePoint namespace