SPCustomWebTemplate.GlobalId Property

Gets the ID of the Web 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 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