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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property WebId As Guid
    Get
    Set
'Usage
Dim instance As ListViewWebPart
Dim value As Guid

value = instance.WebId

instance.WebId = value
[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