Share via


NSCoder.DecodeTopLevelObject Method

Definition

Overloads

DecodeTopLevelObject(Type[], String, NSError)

public Foundation.NSObject DecodeTopLevelObject(Type[] types, string key, out Foundation.NSError error);
member this.DecodeTopLevelObject : Type[] * string * NSError -> Foundation.NSObject

Parameters

types
Type[]
key
String
error
NSError

Returns

Applies to

DecodeTopLevelObject(Class, String, NSError)

[Foundation.Export("decodeTopLevelObjectOfClass:forKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeTopLevelObject(ObjCRuntime.Class klass, string key, out Foundation.NSError error);
[Foundation.Export("decodeTopLevelObjectOfClass:forKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeTopLevelObject(ObjCRuntime.Class klass, string key, out Foundation.NSError? error);
[<Foundation.Export("decodeTopLevelObjectOfClass:forKey:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeTopLevelObject : ObjCRuntime.Class * string * NSError -> Foundation.NSObject
override this.DecodeTopLevelObject : ObjCRuntime.Class * string * NSError -> Foundation.NSObject

Parameters

klass
Class
key
String
error
NSError

Returns

Attributes

Applies to

DecodeTopLevelObject(Type, String, NSError)

public Foundation.NSObject DecodeTopLevelObject(Type type, string key, out Foundation.NSError error);
member this.DecodeTopLevelObject : Type * string * NSError -> Foundation.NSObject

Parameters

type
Type
key
String
error
NSError

Returns

Applies to

DecodeTopLevelObject(String, NSError)

[Foundation.Export("decodeTopLevelObjectForKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeTopLevelObject(string key, out Foundation.NSError error);
[Foundation.Export("decodeTopLevelObjectForKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeTopLevelObject(string key, out Foundation.NSError? error);
[<Foundation.Export("decodeTopLevelObjectForKey:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeTopLevelObject : string * NSError -> Foundation.NSObject
override this.DecodeTopLevelObject : string * NSError -> Foundation.NSObject

Parameters

key
String
error
NSError

Returns

Attributes

Applies to

DecodeTopLevelObject(NSError)

[Foundation.Export("decodeTopLevelObjectAndReturnError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeTopLevelObject(out Foundation.NSError error);
[Foundation.Export("decodeTopLevelObjectAndReturnError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeTopLevelObject(out Foundation.NSError? error);
[<Foundation.Export("decodeTopLevelObjectAndReturnError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeTopLevelObject : NSError -> Foundation.NSObject
override this.DecodeTopLevelObject : NSError -> Foundation.NSObject

Parameters

error
NSError

Returns

Attributes

Applies to

DecodeTopLevelObject(NSSet<Class>, String, NSError)

[Foundation.Export("decodeTopLevelObjectOfClasses:forKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject DecodeTopLevelObject(Foundation.NSSet<ObjCRuntime.Class>? setOfClasses, string key, out Foundation.NSError error);
[Foundation.Export("decodeTopLevelObjectOfClasses:forKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? DecodeTopLevelObject(Foundation.NSSet<ObjCRuntime.Class>? setOfClasses, string key, out Foundation.NSError? error);
[<Foundation.Export("decodeTopLevelObjectOfClasses:forKey:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DecodeTopLevelObject : Foundation.NSSet<ObjCRuntime.Class> * string * NSError -> Foundation.NSObject
override this.DecodeTopLevelObject : Foundation.NSSet<ObjCRuntime.Class> * string * NSError -> Foundation.NSObject

Parameters

setOfClasses
NSSet<Class>
key
String
error
NSError

Returns

Attributes

Applies to