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
| Name | Description |
|---|---|
| ToObject(Class) | |
| ToObject() |
ToObject(Class)
[Foundation.Export("toObjectOfClass:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject ToObject(ObjCRuntime.Class ofExpectedClass);
[<Foundation.Export("toObjectOfClass:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ToObject : ObjCRuntime.Class -> Foundation.NSObject
override this.ToObject : ObjCRuntime.Class -> Foundation.NSObject
Parameters
- ofExpectedClass
- Class
Returns
- Attributes
Applies to
ToObject()
[Foundation.Export("toObject")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject ToObject();
[<Foundation.Export("toObject")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ToObject : unit -> Foundation.NSObject
override this.ToObject : unit -> Foundation.NSObject
Returns
- Attributes