CoreWebView2ScriptDialogOpeningEventArgs.ResultText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.