SPFolderHierarchy Constructor (SPList, Boolean)
Initializes a new instance of a collection of all folders in the list.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub New ( _
list As SPList, _
fIncludeDocsets As Boolean _
)
'Usage
Dim list As SPList
Dim fIncludeDocsets As Boolean
Dim instance As New SPFolderHierarchy(list, fIncludeDocsets)
public SPFolderHierarchy(
SPList list,
bool fIncludeDocsets
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
SPList.
- fIncludeDocsets
Type: System.Boolean
if true, document sets are included in the collection, otherwise, they are excluded.