SPFolderCollection.Folder property

Gets the parent folder of the collection.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the parent folder.

See also

Reference

SPFolderCollection class

SPFolderCollection members

Microsoft.SharePoint namespace