Share via


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)

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.

See also

Reference

SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace