DocumentSet Class

Represents a DocumentSet object on a SharePoint Server publishing site.

Inheritance Hierarchy


Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)


Public Class DocumentSet
Dim instance As DocumentSet
public class DocumentSet


A document set is a special kind of folder that allows tracking and using of a collection of documents as a single work item. It behaves like an item in a Document Library.

The DocumentSet class wraps an SPFolder object. It exposes the underlying SPFolder (DocumentSetFolder) directly, and also exposes its SPItem object (Item) so that their functionality can be accessed easily.You can initialize a new instance of this object by using the static GetDocumentSet(SPFolder) method, or by using the static Create(SPFolder, string, SPContentTypeId, Hashtable) method or one of its overloads to create a document set.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


DocumentSet Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace



Create(SPFolder, String, SPContentTypeId, Hashtable)

Create(SPFolder, String, SPContentTypeId, Hashtable, Boolean)

Create(SPFolder, String, SPContentTypeId, Hashtable, Boolean, SPUser)