DocumentSet.GetDocumentSet method
Gets the DocumentSet object from a specified SPFolder object.
Namespace: Microsoft.Office.DocumentManagement.DocumentSets
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Shared Function GetDocumentSet ( _
folder As SPFolder _
) As DocumentSet
'Usage
Dim folder As SPFolder
Dim returnValue As DocumentSet
returnValue = DocumentSet.GetDocumentSet(folder)
public static DocumentSet GetDocumentSet(
SPFolder folder
)
Parameters
folder
Type: Microsoft.SharePoint.SPFolderThe folder from which to retrieve the DocumentSet.
Return value
Type: Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
The DocumentSet object.