CoreWebView2ExecuteScriptResult.TryGetResultAsString(String, Int32) Method
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.
If Succeeded is true and the result of script execution is a string, this method provides the value of the string result, and we will get the false var value when the js result is not string type.
public void TryGetResultAsString (out string stringResult, out int value);
member this.TryGetResultAsString : string * int -> unit
Public Sub TryGetResultAsString (ByRef stringResult As String, ByRef value As Integer)
Parameters
- stringResult
- String
- value
- Int32