DocumentSet class
SharePoint 2013
Represents a DocumentSet object on a SharePoint Server publishing site.
System.Object
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
Microsoft.Office.DocumentManagement.VideoSets.VideoSet
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
Microsoft.Office.DocumentManagement.VideoSets.VideoSet
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
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.