DocumentSetVersionCollection.List Property
Gets the parent SPList object of the DocumentSet object to which this collection belongs.
Namespace: Microsoft.Office.DocumentManagement.DocumentSets
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public ReadOnly Property List As SPList
Get
'Usage
Dim instance As DocumentSetVersionCollection
Dim value As SPList
value = instance.List
public SPList List { get; }
Property Value
Type: Microsoft.SharePoint.SPList
An SPList object that represents the parent list of the DocumentSet object.
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