次の方法で共有


SPFolder.ParentFolder property

Gets the parent folder of the folder.

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

Syntax

'Declaration
Public ReadOnly Property ParentFolder As SPFolder
    Get
'Usage
Dim instance As SPFolder
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.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace