ListFormWebPart.ListId property
Gets or sets the globally unique identifier (GUID) of the SPList in the ListFormWebPart.
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 ListFormWebPart
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 GUID of the SPList in the ListFormWebPart.
This property also sets the ListName property to the string value of the GUID.