Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPListItem Class
 Folder Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPListItem.Folder Property (Microsoft.SharePoint)
Gets a folder object that is associated with a folder item.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property Folder As SPFolder
Visual Basic (Usage)
Dim instance As SPListItem
Dim value As SPFolder

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

Property Value

An SPFolder object that represents the folder if the item is a folder; otherwise null.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker