Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an enumerator for all the featured content in the collection, sorting on the specified field in the specified direction.
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 FeaturedContentSortField, _
sortDirection As SortDirection _
) As IEnumerator(Of FeaturedContent)
'Usage
Dim instance As FeaturedContentCollection
Dim sortField As FeaturedContentSortField
Dim sortDirection As SortDirection
Dim returnValue As IEnumerator(Of FeaturedContent)
returnValue = instance.GetEnumerator(sortField, _
sortDirection)
IEnumerator<FeaturedContent> GetEnumerator(
FeaturedContentSortField sortField,
SortDirection sortDirection
)
Parameters
sortField
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.FeaturedContentSortFieldThe field on which the collection is to be sorted.
sortDirection
Type: Microsoft.SharePoint.Search.Extended.Administration.Common.SortDirectionThe sort direction.
Return Value
Type: System.Collections.Generic.IEnumerator<FeaturedContent>
An [IEnumerator] over the FeaturedContent.
Remarks
This may return a potentially large result set.
See Also
Reference
FeaturedContentCollection Interface
FeaturedContentCollection Members
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace