Share via


PromotedItemCollection Members

Include Protected Members
Include Inherited Members

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

The PromotedItemCollection type exposes the following members.

Properties

  Name Description
Public property Count (Inherited from ICollection<PromotedItem>.)
Public property IsReadOnly (Inherited from ICollection<PromotedItem>.)

Top

Methods

  Name Description
Public method Add (Inherited from ICollection<PromotedItem>.)
Public method AddPromotedDocument Creates a promoted document and adds it to the collection.
Public method AddPromotedExpression Creates a promoted expression and adds it to the collection.
Public method AddPromotedLocation Creates a promoted location and adds it to the collection.
Public method Clear (Inherited from ICollection<PromotedItem>.)
Public method Contains (Inherited from ICollection<PromotedItem>.)
Public method CopyTo (Inherited from ICollection<PromotedItem>.)
Public method GetEnumerator() (Inherited from IEnumerable<PromotedItem>.)
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetPromotedDocumentEnumerator Returns an enumerator for the promoted documents in the collection.
Public method GetPromotedExpressionEnumerator Returns an enumerator for the promoted expressions in the collection.
Public method GetPromotedLocationEnumerator Returns an enumerator for the promoted locations in the collection.
Public method Remove (Inherited from ICollection<PromotedItem>.)

Top

See Also

Reference

PromotedItemCollection Interface

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