Düzenle

Aracılığıyla paylaş


NSKeyedUnarchiver.GetUnarchivedObject Method

Definition

Overloads

GetUnarchivedObject(NSSet<Class>, NSData, NSError)
GetUnarchivedObject(Class, NSData, NSError)
GetUnarchivedObject(Type, NSData, NSError)
GetUnarchivedObject(Type[], NSData, NSError)

GetUnarchivedObject(NSSet<Class>, NSData, NSError)

[Foundation.Export("unarchivedObjectOfClasses:fromData:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSObject GetUnarchivedObject (Foundation.NSSet<ObjCRuntime.Class> classes, Foundation.NSData data, out Foundation.NSError error);
static member GetUnarchivedObject : Foundation.NSSet<ObjCRuntime.Class> * Foundation.NSData *  -> Foundation.NSObject

Parameters

classes
NSSet<Class>
data
NSData
error
NSError

Returns

Attributes

Applies to

GetUnarchivedObject(Class, NSData, NSError)

[Foundation.Export("unarchivedObjectOfClass:fromData:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSObject GetUnarchivedObject (ObjCRuntime.Class cls, Foundation.NSData data, out Foundation.NSError error);
static member GetUnarchivedObject : ObjCRuntime.Class * Foundation.NSData *  -> Foundation.NSObject

Parameters

cls
Class
data
NSData
error
NSError

Returns

Attributes

Applies to

GetUnarchivedObject(Type, NSData, NSError)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSObject GetUnarchivedObject (Type type, Foundation.NSData data, out Foundation.NSError error);
static member GetUnarchivedObject : Type * Foundation.NSData *  -> Foundation.NSObject

Parameters

type
Type
data
NSData
error
NSError

Returns

Attributes

Applies to

GetUnarchivedObject(Type[], NSData, NSError)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSObject GetUnarchivedObject (Type[] types, Foundation.NSData data, out Foundation.NSError error);
static member GetUnarchivedObject : Type[] * Foundation.NSData *  -> Foundation.NSObject

Parameters

types
Type[]
data
NSData
error
NSError

Returns

Attributes

Applies to