Skip to main content

SuggestionCollection.Contains(SuggestionBase) Method

Determines whether an element is in the collection.

Namespace: DevExpress.XtraSpellChecker

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

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public bool Contains(
    SuggestionBase suggestion
)

Parameters

Name Type Description
suggestion SuggestionBase

A String object to locate in the suggestion collection.

Returns

Type Description
Boolean

true if the item is found within the collection; otherwise false.

Remarks

The parameter string cannot be null.

See Also