다음을 통해 공유


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
Public method SPFolderHierarchy(SPList) Initializes a new instance of a SPFolderHierarchy object
Public method SPFolderHierarchy(SPList, Boolean) Initializes a new instance of a collection of all folders in the list.
Public method SPFolderHierarchy(SPList, String, Boolean) Initializes a new instance of a SPFolderHierarchy object.
Public method SPFolderHierarchy(SPList, Boolean, String, Boolean) Initializes a new instance of a collection of all folders in the list.

Top

Properties

  Name Description
Public property Count
Public property FolderUrl
Public property IncludeDocsets Gets whether the hierarchy of folders includes document sets.
Public property Item
Public property List
Public property ParentHierarchy
Public property RootHierarchy
Public property ThrottledMode Gets whether the folder hierarchy is in throttled mode.

Top

Methods

  Name Description
Public method GetEnumerator Get enumerator.
Public methodStatic member GetFolderSubFolderCount Gets the count of subfolders for the specified SPFolder object.
Public methodStatic member GetSiteCollectionResourceFolder Gets a folder for storing resources for a site collection.
Public methodStatic member GetSubFolder Gets the direct subfolder by name.
Public method GetSubFolders(String) Gets the subfolder of the folder indicated by the URL.
Public method GetSubFolders(String, Boolean) Gets the subfolders of a folder indicated by the URL.
Public methodStatic member ListHasFolders Checks whether the list has folders.
Public method TryGetFolder
Public methodStatic member TryGetFolderByUrl(SPWeb, String, SPFolder)
Public methodStatic member TryGetFolderByUrl(SPWeb, String, Boolean, SPFolder)
Public method TryGetFolderItem

Top

See Also

Reference

SPFolderHierarchy Class

Microsoft.Office.Server.Utilities Namespace