SPView.IncludeRootFolder Property

Gets or sets a Boolean value that specifies whether the root folder is returned in the list view.

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

[ClientCallableAttribute]
public bool IncludeRootFolder { get; set; }

Property Value

Type: System.Boolean
true to return the root folder in the view; otherwise, false.
Show: