SPFolderCollection.Folder Property

Gets the parent folder of the collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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