Compartilhar via


ListViewWebPart.ListId property

Obtém ou define a GUID do SPList associado a ListViewWebPart.

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

Syntax

'Declaração
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ListId As Guid
    Get
    Set
'Uso
Dim instance As ListViewWebPart
Dim value As Guid

value = instance.ListId

instance.ListId = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
public Guid ListId { get; set; }

Property value

Type: System.Guid
O GUID da lista associada a ListViewWebPart.

Implements

IListWebPart.ListId

Ver também

Referência

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace