Share via


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

  • fIncludeDocsets
    Type: System.Boolean

    if true, document sets are included in the collection, otherwise, they are excluded.

See also

Reference

SPFolderHierarchy class

SPFolderHierarchy members

SPFolderHierarchy overload

Microsoft.Office.Server.Utilities namespace