Web.RootFolder Property

Gets the root folder for the Web site.

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

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