RootFolder Property

The RootFolder property of the SPList class gets the folder that contains all the files used in working with the list.

Property Value

A Microsoft.SharePoint.SPFolder object that represents the root folder.

Remarks

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security