SPFolder.ParentFolder Property

Gets the parent folder of the folder.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute]
public SPFolder ParentFolder { get; }

Property Value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the parent folder.
Show: