Share via


SPDocTemplate.Type property

Gets the type of the document template.

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

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.

See also

Reference

SPDocTemplate class

SPDocTemplate members

Microsoft.SharePoint namespace