Share via


CoreWebView2ScriptDialogOpeningEventArgs.ResultText Property

Definition

Gets or sets the return value from the JavaScript prompt function if Accept() is run. This value is ignored for @CoreWebView2ScriptDialogOpeningEventArgs.Kind$s other than @CoreWebView2ScriptDialogKind$.Prompt. If @CoreWebView2ScriptDialogOpeningEventArgs.Accept is not run, this value is ignored and false is returned from prompt.

public string ResultText { get; set; }
member this.ResultText : string with get, set
Public Property ResultText As String

Property Value

Remarks

This value is ignored for Kinds other than Prompt. If Accept() is not run, this value is ignored and false is returned from prompt.

Applies to

See also