SPDocTemplate.Type Property
Gets the type of the document 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 Integer
Get
'Usage
Dim instance As SPDocTemplate
Dim value As Integer
value = instance.Type
public int Type { get; }
Property Value
Type: System.Int32
A 32-bit integer that indicates the type of template.
Remarks
The value of the Type property corresponds to the Type attribute value specified for the document template in the ONET.XML file for the specified site template.