PromotionCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of promotions.
The PromotionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | (Inherited from ICollection<Promotion>.) | |
DemotionCount | Gets the number of demotions in the promotion collection. | |
IsReadOnly | (Inherited from ICollection<Promotion>.) | |
Item | Retrieves a promotion. | |
PromotionCount | Gets the number of promotions with a positive (or zero) boost value in the promotion collection. |
Top
Methods
Name | Description | |
---|---|---|
Add | (Inherited from ICollection<Promotion>.) | |
AddPromotion(String) | Creates a promotion and adds it to the collection. | |
AddPromotion(String, Context) | Creates a promotion and adds it to the collection. | |
AddPromotion(String, String, Int32, Nullable<DateTime>, Nullable<DateTime>, Context) | Creates a promotion and adds it to the collection. | |
Clear | (Inherited from ICollection<Promotion>.) | |
Contains | (Inherited from ICollection<Promotion>.) | |
ContainsPromotion | Determines whether the promotion collection contains a specific promotion. | |
CopyTo | (Inherited from ICollection<Promotion>.) | |
GetDemotionEnumerator() | Returns an enumerator for all the promotions with a negative boost value. These promotions are called demotions. | |
GetDemotionEnumerator(PromotionSortField, SortDirection) | Returns an enumerator for all the promotions with a negative boost value in the collection, sorting on the specified field in the specified direction. These promotions are called demotions. | |
GetDemotionEnumerator(PromotionSortField, SortDirection, Int32, Int32) | Returns an enumerator for a subset of the promotions with a negative boost value in the collection, sorting on the specified field in the specified direction. These promotions are called demotions. | |
GetEnumerator() | (Inherited from IEnumerable<Promotion>.) | |
GetEnumerator() | (Inherited from IEnumerable.) | |
GetEnumerator(PromotionSortField, SortDirection) | Returns an enumerator for all the promotions in the collection, sorting on the specified field in the specified direction. | |
GetEnumerator(PromotionSortField, SortDirection, Int32, Int32) | Returns an enumerator for a subset of the promotions in the collection, sorting on the specified field in the specified direction. | |
GetPromotion | Retrieves a promotion with a specified name. | |
GetPromotionEnumerator() | Returns an enumerator for all the promotions with a positive (or zero) boost value. | |
GetPromotionEnumerator(PromotionSortField, SortDirection) | Returns an enumerator for all the promotions with a positive (or zero) boost value in the collection, sorting on the specified field in the specified direction. | |
GetPromotionEnumerator(PromotionSortField, SortDirection, Int32, Int32) | Returns an enumerator for a subset of the promotions with a positive (or zero) boost value in the collection, sorting on the specified field in the specified direction. | |
Remove | (Inherited from ICollection<Promotion>.) | |
RemovePromotion | Removes a promotion from the promotion collection. |
Top
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace