This topic has not yet been rated - Rate this topic

SPListItem.Folder Property

Gets a folder object that is associated with a folder item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public SPFolder Folder { get; }

Property Value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the folder if the item is a folder; otherwise null.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ