SynonymCollection.GetEnumerator Method (SynonymSortField)
Gets an enumerator for all the synonyms in the collection, sorting on the specified field in ascending order.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function GetEnumerator ( _
sortField As SynonymSortField _
) As IEnumerator(Of Synonym)
'Usage
Dim instance As SynonymCollection
Dim sortField As SynonymSortField
Dim returnValue As IEnumerator(Of Synonym)
returnValue = instance.GetEnumerator(sortField)
IEnumerator<Synonym> GetEnumerator(
SynonymSortField sortField
)
Parameters
sortField
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.SynonymSortFieldThe field on which the collection is to be sorted.
Return Value
Type: System.Collections.Generic.IEnumerator<Synonym>
An [IEnumerator] over the Synonyms.
Remarks
This may return a potentially large result set.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace