Share via


List.RootFolder property

Gets the root folder that contains the files in the list and any related files.

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

Syntax

'Declaration
Public ReadOnly Property RootFolder As Folder
    Get
'Usage
Dim instance As List
Dim value As Folder

value = instance.RootFolder
public Folder RootFolder { get; }

Property value

Type: Microsoft.SharePoint.Client.Folder
A Folder object that represents the root folder.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace