Share via


NSCoder.DecodeObject Method

Definition

Overloads

DecodeObject(Type, String)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Foundation.NSObject? DecodeObject(Type type, string key);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.DecodeObject : Type * string -> Foundation.NSObject

Parameters

type
Type
key
String

Returns

Attributes

Applies to

DecodeObject(Class, String)

[Foundation.Export("decodeObjectOfClass:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(ObjCRuntime.Class class, string key);
[<Foundation.Export("decodeObjectOfClass:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : ObjCRuntime.Class * string -> Foundation.NSObject
override this.DecodeObject : ObjCRuntime.Class * string -> Foundation.NSObject

Parameters

class
Class
key
String

Returns

Attributes

Applies to

DecodeObject(Type[], String)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Foundation.NSObject? DecodeObject(Type[] types, string key);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.DecodeObject : Type[] * string -> Foundation.NSObject

Parameters

types
Type[]
key
String

Returns

Attributes

Applies to

DecodeObject(String)

[Foundation.Export("decodeObjectForKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeObject(string key);
[Foundation.Export("decodeObjectForKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(string key);
[<Foundation.Export("decodeObjectForKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : string -> Foundation.NSObject
override this.DecodeObject : string -> Foundation.NSObject

Parameters

key
String

Returns

Attributes

Applies to

DecodeObject()

[Foundation.Export("decodeObject")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeObject();
[Foundation.Export("decodeObject")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject();
[<Foundation.Export("decodeObject")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : unit -> Foundation.NSObject
override this.DecodeObject : unit -> Foundation.NSObject

Returns

Attributes

Applies to

DecodeObject(NSSet<Class>, String)

[Foundation.Export("decodeObjectOfClasses:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeObject(Foundation.NSSet<ObjCRuntime.Class>? classes, string key);
[<Foundation.Export("decodeObjectOfClasses:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeObject : Foundation.NSSet<ObjCRuntime.Class> * string -> Foundation.NSObject
override this.DecodeObject : Foundation.NSSet<ObjCRuntime.Class> * string -> Foundation.NSObject

Parameters

classes
NSSet<Class>
key
String

Returns

Attributes

Applies to