다음을 통해 공유


SPFolderHierarchy Constructor (SPList, String, Boolean)

Initializes a new instance of a SPFolderHierarchy object.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    list As SPList, _
    strViewFields As String, _
    fViewFieldsOnly As Boolean _
)
'Usage
Dim list As SPList
Dim strViewFields As String
Dim fViewFieldsOnly As Boolean

Dim instance As New SPFolderHierarchy(list, strViewFields, _
    fViewFieldsOnly)
public SPFolderHierarchy(
    SPList list,
    string strViewFields,
    bool fViewFieldsOnly
)

Parameters

  • fViewFieldsOnly
    Type: System.Boolean
    If true, only strViewFields are returned; otherwise, all fields are returned and are subject to SPQuery query limits.

Remarks

The list.RootFolder is not included in the collection.

Document sets are not included in the collection.

See Also

Reference

SPFolderHierarchy Class

SPFolderHierarchy Members

SPFolderHierarchy Overload

Microsoft.Office.Server.Utilities Namespace