SPList.DefaultView Property

Gets the default view for the list.

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


Public ReadOnly Property DefaultView As SPView
Dim instance As SPList
Dim value As SPView

value = instance.DefaultView
public SPView DefaultView { get; }

Property Value

Type: Microsoft.SharePoint.SPView
An SPView object that represents the default view.

See Also


SPList Class

SPList Members

Microsoft.SharePoint Namespace