This topic has not yet been rated - Rate this topic

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)
public SPFolderHierarchy(
	SPList list,
	string strViewFields,
	bool fViewFieldsOnly
)

Parameters

list
Type: Microsoft.SharePoint.SPList
SPList.
strViewFields
Type: System.String
The view fields to return.
fViewFieldsOnly
Type: System.Boolean
If true, only strViewFields are returned; otherwise, all fields are returned and are subject to SPQuery query limits.

The list.RootFolder is not included in the collection.

Document sets are not included in the collection.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.