Partilhar via


SPListTemplate.Type Property

Gets the type of the list definition or list template.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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