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
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property ParentFolder As SPFolder
Get
'Usage
Dim instance As SPFolder
Dim value As SPFolder
value = instance.ParentFolder
[ClientCallableAttribute]
public SPFolder ParentFolder { get; }
Property Value
Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the parent folder.