ComponentOne Spell for .NET: C1Spell Quick Start > Additional Spell for .NET Features > StringCollections

StringCollections

The IgnoreAll and ChangeAllPair StringCollections allow a word to be ignored or changed for all future occurrences of the word until the entries are cleared. This is done when the user presses either the Ignore All or Change All buttons on the spelling dialog box following a BadWord event.

When a word is ignored for all occurrences of the word, the word being checked is added to the IgnoreAll collection.

When a word is changed for all occurrences of the word, the word being checked is added to the ChangeAllPair collection.

All property arrays are zero-based. The first entry is 0, the second is 1, and so on.

Invoking the Clear method clears all entries from the IgnoreAll and ChangeAllPair collections.


Send comments about this topic to ComponentOne.
Copyright © 1987-2008 ComponentOne LLC. All rights reserved.