Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.