Exist() public méthode

Check whether the word exists in the index.
public Exist ( System word ) : bool
word System String ///
Résultat bool
Exemple #1
0
        internal List <string> SuggestSimilar(string prefix, int maxItems)
        {
            var items = spellChecker.SuggestSimilar(prefix, maxItems, null, null, true).ToList();

            if (spellChecker.Exist(prefix))
            {
                items.Add(prefix);
            }
            return(items);
        }