ISpellChecker class com

Represents a particular spell checker for a particular language.

To learn more, see learn.microsoft.com/windows/win32/api/spellcheck/nn-spellcheck-ispellchecker.

Inheritance
Implemented types
Implementers

Constructors

ISpellChecker(VTablePointer ptr)
Creates a new instance of ISpellChecker from a VTablePointer.
ISpellChecker.from(IUnknown interface)
Creates a new instance of ISpellChecker from an existing interface.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id PWSTR
Gets the identifier for this spell checker.
no setter
languageTag PWSTR
Gets the BCP47 language tag this instance of the spell checker supports.
no setter
localizedName PWSTR
Gets text, suitable to display to the user, that describes this spell checker.
no setter
optionIds IEnumString?
Gets all of the declared option identifiers.
no setter
ptr VTablePointer
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(PCWSTR word) → void
Treats the provided word as though it were part of the original dictionary.
addRef() int
Increments the reference count of this COM object.
inherited
addSpellCheckerChanged(ISpellCheckerChangedEventHandler? handler) int
Adds an event handler (ISpellCheckerChangedEventHandler) for the SpellCheckerChanged event.
autoCorrect(PCWSTR from, PCWSTR to) → void
Causes occurrences of one word to be replaced by another.
check(PCWSTR text) IEnumSpellingError?
Checks the spelling of the supplied text and returns a collection of spelling errors.
comprehensiveCheck(PCWSTR text) IEnumSpellingError?
Checks the spelling of the supplied text in a more thorough manner than ISpellChecker.check, and returns a collection of spelling errors.
getOptionDescription(PCWSTR optionId) IOptionDescription?
Retrieves the information (id, description, heading and labels) of a specific option.
getOptionValue(PCWSTR optionId) int
Retrieves the value associated with the given option.
ignore(PCWSTR word) → void
Ignores the provided word for the rest of this session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface<T extends IUnknown>() → T
Queries this COM object for a specific interface defined by the type parameter T.
inherited
release() int
Decrements the reference count of this COM object.
inherited
removeSpellCheckerChanged(int eventCookie) → void
Removes an event handler (ISpellCheckerChangedEventHandler) that has been added for the SpellCheckerChanged event.
suggest(PCWSTR word) IEnumString?
Retrieves spelling suggestions for the supplied text.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited