共用方式為


ListViewWebPart.ListId property

取得或設定SPListListViewWebPart相關聯的 GUID。

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

Syntax

'宣告
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ListId As Guid
    Get
    Set
'用途
Dim instance As ListViewWebPart
Dim value As Guid

value = instance.ListId

instance.ListId = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public Guid ListId { get; set; }

Property value

Type: System.Guid
清單與ListViewWebPart相關聯的 GUID。

Implements

IListWebPart.ListId

請參閱

參照

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace