DocumentSet class
Represents a DocumentSet object on a SharePoint Server publishing site.
Inheritance hierarchy
System.Object
Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
Microsoft.Office.DocumentManagement.VideoSets.VideoSet
Namespace: Microsoft.Office.DocumentManagement.DocumentSets
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Class DocumentSet
'Usage
Dim instance As DocumentSet
public class DocumentSet
Remarks
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
Reference
Microsoft.Office.DocumentManagement.DocumentSets namespace
Create(SPFolder, String, SPContentTypeId, Hashtable)
Create(SPFolder, String, SPContentTypeId, Hashtable, Boolean)
Create(SPFolder, String, SPContentTypeId, Hashtable, Boolean, SPUser)