共用方式為


SPContext.ListId property

取得清單中的Microsoft SharePoint Foundation內容相關聯的 GUID。

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

Syntax

'宣告
Public ReadOnly Property ListId As Guid
    Get
'用途
Dim instance As SPContext
Dim value As Guid

value = instance.ListId
public Guid ListId { get; }

Property value

Type: System.Guid
識別清單的 GUID。

請參閱

參照

SPContext class

SPContext members

Microsoft.SharePoint namespace