CoreWebView2ExecuteScriptResult.ResultAsJson 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 the JSON encoded string that represents the result of running the provided JavaScript.
public string ResultAsJson { get; }
member this.ResultAsJson : string
Public ReadOnly Property ResultAsJson As String
Property Value
Remarks
If the result is undefined, contains a reference cycle, or otherwise is not able to be encoded into JSON, then the result is considered to be null, which is encoded in JSON as the string "null". A function that has no explicit return value returns undefined. If the script that was run throws an unhandled exception, then the result is also "null".