Langue

CoreWebView2SpellCheckSuggestion Class

Definition

Represents a spelling correction for the current context menu target. The object remains readable while retained. Its CommandId is valid only for the originating context menu request and must be assigned before that request's deferral is completed.

public class CoreWebView2SpellCheckSuggestion
type CoreWebView2SpellCheckSuggestion = class
Public Class CoreWebView2SpellCheckSuggestion
Inheritance
CoreWebView2SpellCheckSuggestion

Properties

Name Description
CommandId

Gets the opaque command ID used to apply this correction. Assign this value to SelectedCommandId before completing the context menu deferral. Do not invent, modify, or retain this value for a later context menu request. Suggestion and context menu item command IDs share the originating request's command namespace. Equal IDs identify the same command, so do not assume this value differs from every CommandId in that request.

SuggestionText

Gets the browser-generated spelling correction text.

Applies to