ListViewWebPart.ListId property
取得或設定SPList與ListViewWebPart相關聯的 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。