Edit

Share via


JSContext.EvaluateScript Method

Definition

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

Applies to