Share via


DataViewWebPart.ListId property

Gets/sets the web part's SPList Id in Guid format.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListId As Guid
    Get
    Set
'Usage
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
The web part's SPList Id Guid

Implements

IListWebPart.ListId

See also

Reference

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace