Export (0) Print
Expand All

DocumentSet class

Represents a DocumentSet object on a SharePoint Server publishing site.

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)

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.

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

Community Additions

Show:
© 2014 Microsoft