Share via


Web.RootFolder property

Gets the root folder for the website.

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 Web
Dim value As Folder

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

Property value

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace