IListWebPart.ListId property
Gets or sets the globally unique identifier (GUID) of the list associated with the current Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Property ListId As Guid
Get
Set
'Usage
Dim instance As IListWebPart
Dim value As Guid
value = instance.ListId
instance.ListId = value
Guid ListId { get; set; }
Property value
Type: System.Guid
A Guid object containing the GUID identifier of the list.