Share via


PromotedItemCollection.GetPromotedDocumentEnumerator Method

Returns an enumerator for the promoted documents 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 GetPromotedDocumentEnumerator As IEnumerator(Of PromotedDocument)
'Usage
Dim instance As PromotedItemCollection
Dim returnValue As IEnumerator(Of PromotedDocument)

returnValue = instance.GetPromotedDocumentEnumerator()
IEnumerator<PromotedDocument> GetPromotedDocumentEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<PromotedDocument>
An [IEnumerator] over the PromotedDocuments.

See Also

Reference

PromotedItemCollection Interface

PromotedItemCollection Members

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