JSContext.EvaluateScript 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.
Overloads
EvaluateScript(String, NSUrl) | |
EvaluateScript(String) |
EvaluateScript(String, NSUrl)
[Foundation.Export("evaluateScript:withSourceURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual JavaScriptCore.JSValue EvaluateScript (string script, Foundation.NSUrl sourceUrl);
abstract member EvaluateScript : string * Foundation.NSUrl -> JavaScriptCore.JSValue
override this.EvaluateScript : string * Foundation.NSUrl -> JavaScriptCore.JSValue
Parameters
- script
- String
- sourceUrl
- NSUrl
Returns
- Attributes
Applies to
EvaluateScript(String)
[Foundation.Export("evaluateScript:")]
public virtual JavaScriptCore.JSValue EvaluateScript (string script);
abstract member EvaluateScript : string -> JavaScriptCore.JSValue
override this.EvaluateScript : string -> JavaScriptCore.JSValue
Parameters
- script
- String
Returns
- Attributes