SPList.Views property

Gets the collection of view objects that represents all the views of the list.

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

Syntax

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

value = instance.Views
public SPViewCollection Views { get; }

Property value

Type: Microsoft.SharePoint.SPViewCollection
An SPViewCollection object that represents the views.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace