Share via


ListView.List Property

Gets the list that is rendered.

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

Syntax

'Declaration
Public ReadOnly Property List As SPList
    Get
'Usage
Dim instance As ListView
Dim value As SPList

value = instance.List
public SPList List { get; }

Property Value

Type: Microsoft.SharePoint.SPList
The SPList that is identified by the ListId property.

See Also

Reference

ListView Class

ListView Members

Microsoft.SharePoint.WebControls Namespace