Share via


SPFileCollection.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 SPFileCollection
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

SPFileCollection class

SPFileCollection members

Microsoft.SharePoint namespace