Share via


ListViewWebPart.WebId property

Gets or sets the GUID of the SPWeb to which the ListViewWebPart belongs.

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

Syntax

[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public Guid WebId { get; set; }

Property value

Type: System.Guid
A GUID of the SPWeb.

See also

Reference

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace