Skip to main content
A newer version of this page is available. .

SuggestionCollection.IndexOf(SuggestionBase) Method

Determines the index of a specific item in the SuggestionCollection.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v18.2.Core.dll

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