Share via


DocumentSet.FindParentDocumentSet method

Attempts to find the parent Document Set of the passed in item.

Namespace:  Microsoft.Office.DocumentManagement.DocumentSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Shared Function FindParentDocumentSet ( _
    item As SPListItem _
) As DocumentSet
'Usage
Dim item As SPListItem
Dim returnValue As DocumentSet

returnValue = DocumentSet.FindParentDocumentSet(item)
public static DocumentSet FindParentDocumentSet(
    SPListItem item
)

Parameters

Return value

Type: Microsoft.Office.DocumentManagement.DocumentSets.DocumentSet
The DocumentSet object that represents the parent DocumentSet or a null reference (Nothing in Visual Basic) if none was found.

See also

Reference

DocumentSet class

DocumentSet members

Microsoft.Office.DocumentManagement.DocumentSets namespace