Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the root folder for the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property RootFolder As SPFolder
Get
'Usage
Dim instance As SPWeb
Dim value As SPFolder
value = instance.RootFolder
[ClientCallableAttribute]
public SPFolder RootFolder { get; }
Property Value
Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the root folder.