This topic has not yet been rated - Rate this topic

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 SPView DefaultView { get; }

Property Value

Type: Microsoft.SharePoint.SPView
An SPView object that represents the default view.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
getting fields
how can I get the fields of that default view? thanks