Share via


SPWebInfo.WebTemplateId property

An identifier indicating the Web site template.

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

Syntax

'Declaration
Public ReadOnly Property WebTemplateId As Integer
    Get
'Usage
Dim instance As SPWebInfo
Dim value As Integer

value = instance.WebTemplateId
public int WebTemplateId { get; }

Property value

Type: System.Int32
A Int32 value indicating the Web site template identifier.

See also

Reference

SPWebInfo class

SPWebInfo members

Microsoft.SharePoint namespace