PersistedDictionary.GetEnumerator Method (SortDirection, Int32, Int32)
Gets a thread safe enumerator with paging.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Store
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetEnumerator ( _
direction As SortDirection, _
offset As Integer, _
count As Integer _
) As IEnumerator(Of KeyValuePair(Of String, String))
'Usage
Dim instance As PersistedDictionary
Dim direction As SortDirection
Dim offset As Integer
Dim count As Integer
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, String))
returnValue = instance.GetEnumerator(direction, _
offset, count)
IEnumerator<KeyValuePair<string, string>> GetEnumerator(
SortDirection direction,
int offset,
int count
)
Parameters
direction
Type: Microsoft.SharePoint.Search.Extended.Administration.Common.SortDirectionThe sorting direction.
offset
Type: System.Int32The starting offset.
count
Type: System.Int32The number of elements to return.
Return Value
Type: System.Collections.Generic.IEnumerator<KeyValuePair<String, String>>
An [!:IEnumerator<KeyValuePair<String,String>>] of key-value pairs of strings.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Store Namespace