Represents a keyword in the SharePoint Enterprise Search keyword and best bet management system.
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
To add a keyword to the collection, use the method of the KeywordCollection class.
To delete a keyword, use the Delete method of the class.
Use an indexer to return a single keyword from the KeywordCollection class. For example, assuming the collection is assigned to a variable named siteKeywords, use siteKeywords[index] in Microsoft Visual C# or siteKeywords(index) in Microsoft Visual Basic, where index is a string representing the keyword term.
For more information about keywords and best bets in SharePoint Enterprise Search, see Managing Keywords.