SuggestionCollection.IndexOf(SuggestionBase) Method
In This Article
Determines the index of a specific item in the SuggestionCollection.
Namespace: DevExpress.XtraSpellChecker
Assembly: DevExpress.SpellChecker.v24.2.Core.dll
NuGet Package: DevExpress.SpellChecker.Core
#Declaration
public int IndexOf(
SuggestionBase suggestion
)
#Parameters
Name | Type | Description |
---|---|---|
suggestion | Suggestion |
A Suggestion |
#Returns
Type | Description |
---|---|
Int32 | The suggestion’s index if found in the list; otherwise, -1. |
See Also