DocumentSetVersion.GetDisplayContents Method

Gets information about the snapshot items.

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

Syntax

'Declaration
Public Function GetDisplayContents As List(Of DocumentSetVersionItem)
'Usage
Dim instance As DocumentSetVersion
Dim returnValue As List(Of DocumentSetVersionItem)

returnValue = instance.GetDisplayContents()
public List<DocumentSetVersionItem> GetDisplayContents()

Return Value

Type: System.Collections.Generic.List<DocumentSetVersionItem>
A list of DocumentSetVersionItem objects for every DocumentSet object captured in the snapshot.

Remarks

Call this method to get the document set item information for subsequent output to the user. This method sets the DocumentSetVersionItem.Title property to the item's file name without extension. It also sets the DocumentSetVersionItem.ItemUrl property to the item's Url property. If the item that was originally captured by this snapshot has been deleted since capture, the aforementioned DocumentSetVersionItem properties will not be set.

See Also

Reference

DocumentSetVersion Class

DocumentSetVersion Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace