Share via


PromotedItemCollection.GetPromotedLocationEnumerator Method

Returns an enumerator for the promoted locations in the collection.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function GetPromotedLocationEnumerator As IEnumerator(Of PromotedLocation)
'Usage
Dim instance As PromotedItemCollection
Dim returnValue As IEnumerator(Of PromotedLocation)

returnValue = instance.GetPromotedLocationEnumerator()
IEnumerator<PromotedLocation> GetPromotedLocationEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<PromotedLocation>
An [IEnumerator] over the PromotedLocations.

See Also

Reference

PromotedItemCollection Interface

PromotedItemCollection Members

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace