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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property IncludeRootFolder As Boolean
Get
Set
'Usage
Dim instance As SPDataSource
Dim value As Boolean
value = instance.IncludeRootFolder
instance.IncludeRootFolder = value
public bool IncludeRootFolder { get; set; }
Property Value
Type: System.Boolean
true to return the root folder in the view; otherwise, false.