Share via


SPViewCollection.List property

Gets the parent list for the view collection.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPList
An SPList object that represents the list.

See also

Reference

SPViewCollection class

SPViewCollection members

Microsoft.SharePoint namespace