Share via


Folder.ParentFolder Property

Gets the parent list folder of the folder.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ParentFolder As Folder
    Get
'Usage
Dim instance As Folder
Dim value As Folder

value = instance.ParentFolder
[RemoteAttribute]
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