SPDataSource.IncludeRootFolder property

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

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

public bool IncludeRootFolder { get; set; }

Property value

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