DocumentSet Class

Represents a DocumentSet object on a SharePoint Server publishing site.

Inheritance Hierarchy

System.Object
  Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet

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

DocumentSet Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace

SPFolder

GetDocumentSet(SPFolder)

Create(SPFolder, String, SPContentTypeId, Hashtable)

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

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