Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPList.RootFolder property

Gets the folder that contains all the files that are used in working with the list.

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

'Declaration
Public ReadOnly Property RootFolder As SPFolder
	Get
'Usage
Dim instance As SPList
Dim value As SPFolder

value = instance.RootFolder

Property value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the root folder.

To use the RootFolder property, set the IncludeRootFolder property on the parent SPListCollection object to true.

Show:
© 2015 Microsoft