SPList.DefaultView Property
Gets the default view for the list.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property DefaultView As SPView
Get
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.