Editar

Compartilhar via


JSValue.FromJSJSValueRef(IntPtr, JSContext) Method

Definition

Creates a C representation of the provided JavaScript reference value.

[Foundation.Export("valueWithJSValueRef:inContext:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static JavaScriptCore.JSValue FromJSJSValueRef (IntPtr nativeJsValueRefvalue, JavaScriptCore.JSContext context);
static member FromJSJSValueRef : nativeint * JavaScriptCore.JSContext -> JavaScriptCore.JSValue

Parameters

nativeJsValueRefvalue
IntPtr

nativeint

context
JSContext

Returns

Attributes

Applies to