共用方式為


IListWebPart.ListId property

取得或設定全域唯一識別項 (GUID) 與目前的 Web 組件相關聯的清單。

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

Syntax

'宣告
Property ListId As Guid
    Get
    Set
'用途
Dim instance As IListWebPart
Dim value As Guid

value = instance.ListId

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

Property value

Type: System.Guid
Guid 物件,包含清單的 GUID 識別項。

請參閱

參照

IListWebPart interface

IListWebPart members

Microsoft.SharePoint.WebPartPages namespace