Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContext.RootFolderUrl property

Gets the URL of the root folder for the current context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public string RootFolderUrl { get; }

Property value

Type: System.String
A string that contains a server-relative URL or an empty string if there is no root folder in the current context.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.