SPListCollection.IncludeRootFolder Property
Gets or sets a Boolean value that specifies whether the root folder of a list in the collection is returned by the RootFolder property.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property IncludeRootFolder As Boolean
Get
Set
'Usage
Dim instance As SPListCollection
Dim value As Boolean
value = instance.IncludeRootFolder
instance.IncludeRootFolder = value
public bool IncludeRootFolder { get; set; }
Property Value
Type: System.Boolean
true if the root folder is returned by the RootFolder property; otherwise, false.