Compartilhar via


ListViewWebPart.WebId property

Obtém ou define a GUID do SPWeb ao qual pertence a ListViewWebPart .

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

Syntax

'Declaração
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property WebId As Guid
    Get
    Set
'Uso
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
GUID do SPWeb.

Ver também

Referência

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace