共用方式為


DataViewWebPart.ListId property

取得/設定 Guid 格式在網頁組件的 SPList 識別碼。

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

Syntax

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

value = instance.ListId

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

Property value

Type: System.Guid
網頁組件的 SPList 識別碼 Guid

Implements

IListWebPart.ListId

請參閱

參照

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace