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 parent folder of the file.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property ParentFolder As SPFolder
Get
'Usage
Dim instance As SPFile
Dim value As SPFolder
value = instance.ParentFolder
public SPFolder ParentFolder { get; }
Property Value
Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the parent folder.