다음을 통해 공유


ListViewWebPart.ListId Property

Gets or sets the GUID of the SPList associated with the ListViewWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListId As Guid
    Get
    Set
'Usage
Dim instance As ListViewWebPart
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 list associated with the ListViewWebPart.

Implements

IListWebPart.ListId

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace