Hi,
I am using "CheckWord(string, bool)" method of "SpellChecker" class. This method has an "if" block which traps the strings having length lesser than three characters and simply returns "SpellerStatus" as "NoErrors" for such a string.
My requirement is to check for strings which are of two characters length or greater. To achieve this, I am concatenating few extra spaces to my string if it's length is less than two characters before passing it to the "CheckWord" method because of which the "if" block is skipped. But I am looking for a better and safer solution.
If anybody knows the solution to it, please let me know.
Thanks
Regards
Syed Junaid

Regarding "CheckWord" method of "SpellChecker" class
Jim P.
Syed,
There is no better solution for what you are doing.
However, do not rely on the SpellChecker that ships with FxCop, is it was not designed to be a resuable component and will be replaced in future versions of FxCop.
Regards
David