SPFolderHierarchy Members
Include Protected Members
Include Inherited Members
This class is an abstraction over the folders in a SharePoint Server list designed to work around limitations in the SharePoint Server object model around iterating the folders in a large list.
The SPFolderHierarchy type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SPFolderHierarchy(SPList) | Initializes a new instance of a SPFolderHierarchy object |
![]() |
SPFolderHierarchy(SPList, Boolean) | Initializes a new instance of a collection of all folders in the list. |
![]() |
SPFolderHierarchy(SPList, String, Boolean) | Initializes a new instance of a SPFolderHierarchy object. |
![]() |
SPFolderHierarchy(SPList, Boolean, String, Boolean) | Initializes a new instance of a collection of all folders in the list. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | |
![]() |
FolderUrl | |
![]() |
IncludeDocsets | Gets whether the hierarchy of folders includes document sets. |
![]() |
Item | |
![]() |
List | |
![]() |
ParentHierarchy | |
![]() |
RootHierarchy | |
![]() |
ThrottledMode | Gets whether the folder hierarchy is in throttled mode. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
GetEnumerator | Get enumerator. |
![]() ![]() |
GetFolderSubFolderCount | Gets the count of subfolders for the specified SPFolder object. |
![]() ![]() |
GetSiteCollectionResourceFolder | Gets a folder for storing resources for a site collection. |
![]() ![]() |
GetSubFolder | Gets the direct subfolder by name. |
![]() |
GetSubFolders(String) | Gets the subfolder of the folder indicated by the URL. |
![]() |
GetSubFolders(String, Boolean) | Gets the subfolders of a folder indicated by the URL. |
![]() ![]() |
ListHasFolders | Checks whether the list has folders. |
![]() |
TryGetFolder | |
![]() ![]() |
TryGetFolderByUrl(SPWeb, String, SPFolder) | |
![]() ![]() |
TryGetFolderByUrl(SPWeb, String, Boolean, SPFolder) | |
![]() |
TryGetFolderItem |
Top
.gif)
.gif)
.gif)