C# Class Microsoft.VisualStudio.Language.Spellchecker.SpellDictionarySmartTagAction

Smart tag action for adding new words to the dictionary.
Inheritance: ISmartTagAction
Afficher le fichier Open project: NoahRic/Spellchecker

Méthodes publiques

Méthode Description
Invoke ( ) : void

This method is executed when action is selected in the context menu.

SpellDictionarySmartTagAction ( string word, ISpellingDictionary dictionary, string displayText, bool ignore ) : System.Collections.ObjectModel

Constructor for SpellDictionarySmartTagAction.

Method Details

Invoke() public méthode

This method is executed when action is selected in the context menu.
public Invoke ( ) : void
Résultat void

SpellDictionarySmartTagAction() public méthode

Constructor for SpellDictionarySmartTagAction.
public SpellDictionarySmartTagAction ( string word, ISpellingDictionary dictionary, string displayText, bool ignore ) : System.Collections.ObjectModel
word string The word to add or ignore.
dictionary ISpellingDictionary The dictionary (used to ignore the word).
displayText string Text to show in the context menu for this action.
ignore bool Whether this is to ignore the word or add it to the dictionary.
Résultat System.Collections.ObjectModel