Skip to main content

SuggestionBase Members

An instance of this class combines the suggested word and the distance between the suggested and the misspelled words.

Constructors

Name Description
SuggestionBase(String, Int32) Initializes a new SuggestionBase class instance with the specified settings.

Properties

Name Description
Distance Gets a Levenshtein distance between the misspelled and the suggested words.
Suggestion Gets or sets the word that is suggested by the spell checker.

Methods

Name Description
CompareTo(SuggestionBase) Compares the current field name with another and returns an integer that indicates whether the current name is before another name, after it or in the same position in the sort order.
CompareTo(Object) Compares the SuggestionBase.Distance value of the SuggestionBase instance to the Levenshtein distance value of an object and returns an indication of their relative values.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether or not the specified object is equal to the current SuggestionBase instance.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also