Compartir a través de


NSKeyedUnarchiver.GetUnarchivedObject Método

Definición

Sobrecargas

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

Parámetros

classes
NSSet<Class>
data
NSData
error
NSError

Devoluciones

Atributos

Se aplica a

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

Parámetros

cls
Class
data
NSData
error
NSError

Devoluciones

Atributos

Se aplica a

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

Parámetros

type
Type
data
NSData
error
NSError

Devoluciones

Atributos

Se aplica a

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

Parámetros

types
Type[]
data
NSData
error
NSError

Devoluciones

Atributos

Se aplica a