共用方式為


SPWebListInfo.WebId property

如果此SPWebListInfo執行個體Type成員是 Web 時,父 Web 網站的唯一識別項。

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

Syntax

'宣告
Public Property WebId As Guid
    Get
    Private Set
'用途
Dim instance As SPWebListInfo
Dim value As Guid

value = instance.WebId
public Guid WebId { get; private set; }

Property value

Type: System.Guid
Guid 可唯一識別 [Web 站台。

請參閱

參照

SPWebListInfo class

SPWebListInfo members

Microsoft.SharePoint namespace