WebBrowserExtensions.EncodeScriptParam Property (original) (raw)

WebBrowserExtensionsEncodeScriptParam Property

Version 118.6.80

Function used to encode the params passed to [!:ExecuteScriptAsync(IWebBrowser, string, object[])],[!:EvaluateScriptAsync(IWebBrowser, string, object[])] and[!:EvaluateScriptAsync(IWebBrowser, TimeSpan?, string, object[])] Provide your own custom function to perform custom encoding. You can use your choice of JSON encoder here if you should so choose.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax

public static Func<string, string> EncodeScriptParam { get; set; }

public: static property Func<String^, String^>^ EncodeScriptParam { Func<String^, String^>^ get (); void set (Func<String^, String^>^ value); }

Property Value

Type: FuncString, String
A function delegate that yields a string.

See Also

Reference