Share via


List.RootFolder Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property RootFolder As Folder
    Get
'Usage
Dim instance As List
Dim value As Folder

value = instance.RootFolder
[RemoteAttribute]
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