Compartilhar via


DocumentSetVersionCollection.IEnumerable<DocumentSetVersion>.GetEnumerator Method

Gets an enumerator to iterate through the collection.

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of DocumentSetVersion)
    Implements IEnumerable(Of DocumentSetVersion).GetEnumerator
'Usage
Dim instance As DocumentSetVersionCollection
Dim returnValue As IEnumerator(Of DocumentSetVersion)

returnValue = CType(instance, IEnumerable(Of DocumentSetVersion)).GetEnumerator()
IEnumerator<DocumentSetVersion> IEnumerable<DocumentSetVersion>.GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<DocumentSetVersion>
Returns IEnumerator<T>.

Implements

IEnumerable<T>.GetEnumerator()

Remarks

Snapshots are enumerated in descending order from newest to oldest.

See Also

Reference

DocumentSetVersionCollection Class

DocumentSetVersionCollection Members

Microsoft.Office.DocumentManagement.DocumentSets Namespace