Share via


SPViewCollection.List Property

Gets the parent list for the view collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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