Share via


Keyword Members

Include Protected Members
Include Inherited Members

Represents a search keyword.

The Keyword type exposes the following members.

Properties

  Name Description
Public property BestBets Gets all best bets for the keyword.
Public property Definition Gets or sets description for the keyword.
Public property FeaturedContent Gets all featured content for the keyword.
Public property Group Gets the search setting group to which the keyword belongs.
Public property Id Gets or sets the identity of the object. (Inherited from Identifiable.)
Public property LastChanged Gets or sets the date of the last changed field. (Inherited from Identifiable.)
Public property Promotions
Public property Synonyms Gets all synonyms for the keyword.
Public property Term Gets or sets the keyword term.

Top

Methods

  Name Description
Public method AddBestBet(String) Adds a new best bet for the keyword.
Public method AddBestBet(String, Uri) Adds a new best bet with a given URI for the keyword.
Public method AddBestBet(String, String, Uri) Adds a new best bet with a given URI and html teaser for the keyword.
Public method AddFeaturedContent Adds featured content to the keyword.
Public method AddPromotion Adds a new promotion for the keyword.
Public method AddSynonym(String) Adds a two-way synonym for the keyword.
Public method AddSynonym(String, SynonymExpansionType) Adds a new synonym of the specified expansion type for the keyword.
Public method CompareTo (Inherited from IComparable<Keyword>.)
Public method RemoveBestBet Removes a best bet for the keyword.
Public method RemoveFeaturedContent Removes featured content from the keyword.
Public method RemovePromotion Removes a promotion with the specified name from the keyword.
Public method RemoveSynonym Removes a synonym for the keyword.

Top

See Also

Reference

Keyword Interface

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