DocumentSetVersionCollection.Folder Property

Gets the foot folder of the DocumentSet object.

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

Syntax

'Declaration
Public ReadOnly Property Folder As SPFolder
    Get
'Usage
Dim instance As DocumentSetVersionCollection
Dim value As SPFolder

value = instance.Folder
public SPFolder Folder { get; }

Property Value

Type: Microsoft.SharePoint.SPFolder
Returns SPFolder.

Exceptions

Exception Condition
InvalidOperationException

Cannot work with snapshot because versioning is not enabled on the parent SPList object.

See Also

Reference

DocumentSetVersionCollection Class

DocumentSetVersionCollection Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace

Folder

DocumentSet

SPFolder