Share via


PromotedItemCollection Interface

Represents a collection of promoted items. Includes operations to add a promoted document, a promoted location, and a promoted expression.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface PromotedItemCollection _
    Inherits ICollection(Of PromotedItem), IEnumerable(Of PromotedItem),  _
    IEnumerable
'Usage
Dim instance As PromotedItemCollection
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface PromotedItemCollection : ICollection<PromotedItem>, 
    IEnumerable<PromotedItem>, IEnumerable

See Also

Reference

PromotedItemCollection Members

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

Promotion