SuggestionCollection.Contains(String) Method
In This Article
Determines whether a text string is in the collection of suggestions.
Namespace: DevExpress.XtraSpellChecker
Assembly: DevExpress.SpellChecker.v24.2.Core.dll
NuGet Package: DevExpress.SpellChecker.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
suggestion | String | A String object to locate in the suggestion collection. |
#Returns
Type | Description |
---|---|
Boolean | true if an item is found within the collection; otherwise false. |
#Remarks
The method searches the SuggestionBase.Suggestion properties of collection elements for a string match.
See Also