JSValue.ToObject 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
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