共用方式為


SPCustomWebTemplate.GlobalId property

取得網站範本的識別碼。

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

Syntax

'宣告
Public ReadOnly Property GlobalId As Integer
    Get
'用途
Dim instance As SPCustomWebTemplate
Dim value As Integer

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

Property value

Type: System.Int32
Int32 用來識別該範本。

備註

網站範本取得 Id 的建立,從 0 開始的順序。

請參閱

參照

SPCustomWebTemplate class

SPCustomWebTemplate members

Microsoft.SharePoint namespace