共用方式為


WebTemplate.Id Property

Gets a value that specifies the unique identifier for the site definition configuration or the site template.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Id As Integer
    Get
'Usage
Dim instance As WebTemplate
Dim value As Integer

value = instance.Id
[RemoteAttribute]
public int Id { get; }

Property Value

Type: System.Int32
Returns a Int32 instance representing the unique identifier for the site definition configuration or the site template.

See Also

Reference

WebTemplate Class

WebTemplate Members

Microsoft.SharePoint.Client Namespace