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)

'Declaration
Public Property IncludeRootFolder As Boolean
	Get
	Set
'Usage
Dim instance As SPView
Dim value As Boolean

value = instance.IncludeRootFolder

instance.IncludeRootFolder = value

Property value

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