Skip to main content

SuggestionCollection.IndexOf(SuggestionBase) Method

Determines the index of a specific item in the SuggestionCollection.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.1.Core.dll

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public int IndexOf(
    SuggestionBase suggestion
)

Parameters

Name Type Description
suggestion SuggestionBase

A SuggestionBase object to locate within the SuggestionCollection.

Returns

Type Description
Int32

The suggestion’s index if found in the list; otherwise, -1.

See Also