次の方法で共有


NSKeyedUnarchiver.GetUnarchivedObject メソッド

定義

オーバーロード

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

パラメーター

classes
NSSet<Class>
data
NSData
error
NSError

戻り値

属性

適用対象

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

パラメーター

cls
Class
data
NSData
error
NSError

戻り値

属性

適用対象

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

パラメーター

type
Type
data
NSData
error
NSError

戻り値

属性

適用対象

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

パラメーター

types
Type[]
data
NSData
error
NSError

戻り値

属性

適用対象