SPCustomWebTemplate.GlobalId property

Gets the ID of the Web template.

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

Syntax

'Declaration
Public ReadOnly Property GlobalId As Integer
    Get
'Usage
Dim instance As SPCustomWebTemplate
Dim value As Integer

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

Property value

Type: System.Int32
A Int32 that identifies the template.

Remarks

Web templates get IDs in the order in which they were created, starting with 0.

See also

Reference

SPCustomWebTemplate class

SPCustomWebTemplate members

Microsoft.SharePoint namespace