JSValue.ToObject Method

Definition

Overloads

ToObject()

Returns an NSObject for the JSValue.

ToObject(Class)

Returns an NSObject, of the specified class, for the JSValue.

ToObject()

Returns an NSObject for the JSValue.

[Foundation.Export("toObject")]
public virtual Foundation.NSObject ToObject ();
abstract member ToObject : unit -> Foundation.NSObject
override this.ToObject : unit -> Foundation.NSObject

Returns

Attributes

Applies to

ToObject(Class)

Returns an NSObject, of the specified class, for the JSValue.

[Foundation.Export("toObjectOfClass:")]
public virtual Foundation.NSObject ToObject (ObjCRuntime.Class ofExpectedClass);
abstract member ToObject : ObjCRuntime.Class -> Foundation.NSObject
override this.ToObject : ObjCRuntime.Class -> Foundation.NSObject

Parameters

ofExpectedClass
Class

Returns

Attributes

Applies to