다음을 통해 공유


SPPersistedCustomWebTemplate.TemplateId Property

Gets the ID of the custom Web template.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property TemplateId As Integer
    Get
'Usage
Dim instance As SPPersistedCustomWebTemplate
Dim value As Integer

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

Property Value

Type: System.Int32
A 32-bit integer that indicates the Web template ID.

Remarks

The Web template ID is not a unique identifier; instead it connects the template to a particular Understanding Onet.xml Files file.

See Also

Reference

SPPersistedCustomWebTemplate Class

SPPersistedCustomWebTemplate Members

Microsoft.SharePoint.Administration Namespace