PersistedDictionaryCollection.GetEnumerator Method (SortField, SortDirection, Int32, Int32)
Overloads the method to support paging and sorting.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Store
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetEnumerator ( _
sortField As SortField, _
direction As SortDirection, _
offset As Integer, _
count As Integer _
) As IEnumerator(Of PersistedDictionary)
'Usage
Dim instance As PersistedDictionaryCollection
Dim sortField As SortField
Dim direction As SortDirection
Dim offset As Integer
Dim count As Integer
Dim returnValue As IEnumerator(Of PersistedDictionary)
returnValue = instance.GetEnumerator(sortField, _
direction, offset, count)
IEnumerator<PersistedDictionary> GetEnumerator(
SortField sortField,
SortDirection direction,
int offset,
int count
)
Parameters
sortField
Type: Microsoft.SharePoint.Search.Extended.Administration.Common.SortFieldThe field to sort on.
direction
Type: Microsoft.SharePoint.Search.Extended.Administration.Common.SortDirectionThe direction of the sorting.
offset
Type: System.Int32The starting offset.
count
Type: System.Int32The number of elements to return.
Return Value
Type: System.Collections.Generic.IEnumerator<PersistedDictionary>
An IEnumerator<T> over PersistedDictionary objects.
See Also
Reference
PersistedDictionaryCollection Interface
PersistedDictionaryCollection Members
Microsoft.SharePoint.Search.Extended.Administration.Store Namespace