TermCollection.GetEnumerator Method (SortDirection, Int32, Int32)
Gets an enumerator with customizable sorting and paging.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Linguistics
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetEnumerator ( _
sortDirection As SortDirection, _
offset As Integer, _
count As Integer _
) As IEnumerator(Of String)
'Usage
Dim instance As TermCollection
Dim sortDirection As SortDirection
Dim offset As Integer
Dim count As Integer
Dim returnValue As IEnumerator(Of String)
returnValue = instance.GetEnumerator(sortDirection, _
offset, count)
IEnumerator<string> GetEnumerator(
SortDirection sortDirection,
int offset,
int count
)
Parameters
sortDirection
Type: Microsoft.SharePoint.Search.Extended.Administration.Common.SortDirectionThe direction of sorting.
offset
Type: System.Int32The start offset.
count
Type: System.Int32The number of elements to return.
Return Value
Type: System.Collections.Generic.IEnumerator<String>
An IEnumerator<T> over terms.
Remarks
Entries are always sorted alphabetically.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Linguistics Namespace