Folder.ParentFolder property

Gets the parent list folder of the folder.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property ParentFolder As Folder
    Get
'Usage
Dim instance As Folder
Dim value As Folder

value = instance.ParentFolder
public Folder ParentFolder { get; }

Property value

Type: Microsoft.SharePoint.Client.Folder
A Folder object that represents the parent folder.

Remarks

If the folder is the root folder, then the ParentFolder property returns that folder.

See also

Reference

Folder class

Folder members

Microsoft.SharePoint.Client namespace